soml-parser/test/cases/if_statement/if_else.tst
2015-10-09 17:21:15 +03:00

15 lines
172 B
Scilab

if(0)
42
else
667
end
-- -- --
s(:expressions,
s(:if,
s(:condition,
s(:int, 0)),
s(:if_true,
s(:int, 42)),
s(:if_false,
s(:int, 667))))