fix test after syntax changes

This commit is contained in:
Torsten Ruger
2015-10-19 15:21:23 +03:00
parent 3061ddfed9
commit 6710567af9
15 changed files with 42 additions and 46 deletions

View File

@ -2,7 +2,7 @@ if_zero(0)
four = 42
end
-- -- --
s(:if_statement,
s(:if_statement, :zero,
s(:condition,
s(:int, 0)),
s(:true_statements,

View File

@ -2,11 +2,11 @@ if_overflow(3 + 100000 )
Object.initialize(3)
end
-- -- --
s(:if_statement,
s(:if_statement, :overflow,
s(:condition,
s(:operator_value, :>,
s(:operator_value, :+,
s(:int, 3),
s(:name, :var))),
s(:int, 100000))),
s(:true_statements,
s(:call,
s(:name, :initialize),