indenting
This commit is contained in:
parent
35e12bd9c4
commit
00d1bf9af4
@ -842,20 +842,24 @@ static Int doformat(volatile Term otail, volatile Term oargs,
|
|||||||
if (targ > tnum - 1 || has_repeats)
|
if (targ > tnum - 1 || has_repeats)
|
||||||
goto do_format_control_sequence_error;
|
goto do_format_control_sequence_error;
|
||||||
t = targs[targ++];
|
t = targs[targ++];
|
||||||
|
{
|
||||||
yhandle_t sl0 = Yap_StartSlots();
|
yhandle_t sl0 = Yap_StartSlots();
|
||||||
Yap_plwrite(t, GLOBAL_Stream + sno, 0,
|
Yap_plwrite(t, GLOBAL_Stream + sno, 0,
|
||||||
Handle_vars_f | Quote_illegal_f | To_heap_f,
|
Handle_vars_f | Quote_illegal_f | To_heap_f,
|
||||||
GLOBAL_MaxPriority);
|
GLOBAL_MaxPriority);
|
||||||
Yap_CloseSlots(sl0);
|
Yap_CloseSlots(sl0);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 'w':
|
case 'w':
|
||||||
if (targ > tnum - 1 || has_repeats)
|
if (targ > tnum - 1 || has_repeats)
|
||||||
goto do_format_control_sequence_error;
|
goto do_format_control_sequence_error;
|
||||||
t = targs[targ++];
|
t = targs[targ++];
|
||||||
|
{
|
||||||
yhandle_t slf = Yap_StartSlots();
|
yhandle_t slf = Yap_StartSlots();
|
||||||
Yap_plwrite(t, GLOBAL_Stream + sno, 0, Handle_vars_f | To_heap_f,
|
Yap_plwrite(t, GLOBAL_Stream + sno, 0, Handle_vars_f | To_heap_f,
|
||||||
GLOBAL_MaxPriority);
|
GLOBAL_MaxPriority);
|
||||||
Yap_CloseSlots(slf);
|
Yap_CloseSlots(slf);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 'W':
|
case 'W':
|
||||||
if (targ > tnum - 2 || has_repeats)
|
if (targ > tnum - 2 || has_repeats)
|
||||||
|
Reference in New Issue
Block a user