indenting

This commit is contained in:
Vitor Santos Costa 2017-09-17 07:53:43 +01:00
parent 35e12bd9c4
commit 00d1bf9af4

View File

@ -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)