ab0a94bd51
although int is still allowed for integers (gets replaced though)
14 lines
236 B
Scilab
14 lines
236 B
Scilab
int foo(Class x)
|
|
a = 1
|
|
end
|
|
-- -- --
|
|
s(:statements,
|
|
s(:function, :Integer,
|
|
s(:name, :foo),
|
|
s(:parameters,
|
|
s(:parameter, :Class, :x)),
|
|
s(:statements,
|
|
s(:assignment,
|
|
s(:name, :a),
|
|
s(:int, 1)))))
|