ab0a94bd51
although int is still allowed for integers (gets replaced though)
14 lines
261 B
Scilab
14 lines
261 B
Scilab
int foo( int n ,String m)
|
|
return n
|
|
end
|
|
-- -- --
|
|
s(:statements,
|
|
s(:function, :Integer,
|
|
s(:name, :foo),
|
|
s(:parameters,
|
|
s(:parameter, :Integer, :n),
|
|
s(:parameter, :String, :m)),
|
|
s(:statements,
|
|
s(:return,
|
|
s(:name, :n)))))
|