redoing the ifs with new (old) block structure

This commit is contained in:
Torsten Ruger
2014-08-13 20:05:32 +03:00
parent 90cbeddc0a
commit 7e60827dd3
7 changed files with 37 additions and 29 deletions

View File

@ -48,7 +48,7 @@ module Ast
call.do_call into
after = into.new_block("#{name}#{@@counter+=1}")
into.insert_at after
into.current after
into.pop([]) unless current_function.nil?
function.return_type
end