From 00d1bf9af42df33486ad066537e7c9046b5c9ea4 Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Sun, 17 Sep 2017 07:53:43 +0100 Subject: [PATCH] indenting --- os/format.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/os/format.c b/os/format.c index 9a4c2782f..c31b229a4 100644 --- a/os/format.c +++ b/os/format.c @@ -842,20 +842,24 @@ static Int doformat(volatile Term otail, volatile Term oargs, if (targ > tnum - 1 || has_repeats) goto do_format_control_sequence_error; t = targs[targ++]; + { yhandle_t sl0 = Yap_StartSlots(); Yap_plwrite(t, GLOBAL_Stream + sno, 0, Handle_vars_f | Quote_illegal_f | To_heap_f, GLOBAL_MaxPriority); Yap_CloseSlots(sl0); + } break; case 'w': if (targ > tnum - 1 || has_repeats) goto do_format_control_sequence_error; t = targs[targ++]; + { yhandle_t slf = Yap_StartSlots(); Yap_plwrite(t, GLOBAL_Stream + sno, 0, Handle_vars_f | To_heap_f, GLOBAL_MaxPriority); Yap_CloseSlots(slf); + } break; case 'W': if (targ > tnum - 2 || has_repeats)