diff options
author | jofret | 2009-05-05 13:52:15 +0000 |
---|---|---|
committer | jofret | 2009-05-05 13:52:15 +0000 |
commit | 83c68889eff40411bbef50df0904f3585ed9e2b7 (patch) | |
tree | 16fb9d67c603e867e10f675a6e5fb8c3bb58b41f /macros/ASTManagement/%funcall_string.sci | |
parent | b11350b841069ef8db155516a310eb7523c5e183 (diff) | |
download | scilab2c-83c68889eff40411bbef50df0904f3585ed9e2b7.tar.gz scilab2c-83c68889eff40411bbef50df0904f3585ed9e2b7.tar.bz2 scilab2c-83c68889eff40411bbef50df0904f3585ed9e2b7.zip |
Split into several files
Diffstat (limited to 'macros/ASTManagement/%funcall_string.sci')
-rw-r--r-- | macros/ASTManagement/%funcall_string.sci | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/macros/ASTManagement/%funcall_string.sci b/macros/ASTManagement/%funcall_string.sci new file mode 100644 index 00000000..faeb81d9 --- /dev/null +++ b/macros/ASTManagement/%funcall_string.sci @@ -0,0 +1,15 @@ +function txt=%funcall_string(F) +//overloading function for "funcall" type tlist string function +//this is a node of the AST +//fields: +// rhs : a list +// name : string, the name of the function +// lhsnb: number, the number of function lhs + +txt=['Funcall : '+F.name + ' #lhs : '+string(F.lhsnb) + ' Rhs : ' + ' '+objectlist2string(F.rhs) + 'EndFuncall' + ] +endfunction |