Add blank lines to printout in auto-mode.

This commit is contained in:
cfreksen 2017-10-30 02:36:10 +01:00
parent 5198d44417
commit 3e809a9c30
No known key found for this signature in database
GPG Key ID: EAC13EE101008978

View File

@ -522,6 +522,7 @@ def auto_step(ast, function_name='tigermain', function_args=[1234, 5678]):
global_env = alloc_globals(gdecls, heap) global_env = alloc_globals(gdecls, heap)
print('Heap after globals are allocated:') print('Heap after globals are allocated:')
print(heap) print(heap)
print()
step_cnt = 0 step_cnt = 0
while True: while True:
@ -530,6 +531,7 @@ def auto_step(ast, function_name='tigermain', function_args=[1234, 5678]):
stack_frames, ssa_env, stack_frames, ssa_env,
global_env, heap, tdecls, global_env, heap, tdecls,
fdecls, call_res) fdecls, call_res)
print()
step_cnt += 1 step_cnt += 1
if terminator is None: if terminator is None:
print('Stepping done!\nFinal ssa_env: {}' print('Stepping done!\nFinal ssa_env: {}'