working on if

This commit is contained in:
Torsten Ruger
2014-07-16 13:20:47 +03:00
parent 3a152c1295
commit 55cb6bd2d6
7 changed files with 42 additions and 14 deletions

View File

@ -67,7 +67,7 @@ module Ast
def compile frame , method
raise "must assign to NameExpression , not #{left}" unless left.instance_of? NameExpression
r = right.compile(frame,method)
r = right.compile(frame , method)
frame.compile_set( method , left.name , r )
end
end