soml-parser/test/cases/conditional/if_else.tst

15 lines
172 B
Scilab
Raw Normal View History

if(0)
42
else
667
end
-- -- --
2015-09-19 16:11:15 +02:00
s(:expressions,
s(:if,
s(:condition,
s(:int, 0)),
s(:if_true,
s(:int, 42)),
s(:if_false,
s(:int, 667))))