Commit 725ac31c authored by Liam Schumm's avatar Liam Schumm

Fix type function to work on empty strings

parent 787e942d
......@@ -36,14 +36,16 @@ type:
dec ecx
type_loop:
type_loop:
cmp ecx, 0
je type_end
dec ecx
call astack_pop
jmp type_loop
cmp ecx, 0
jne type_loop
type_end:
mov eax, ebx
call astack_push
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment