summaryrefslogtreecommitdiff
path: root/macros/ASTManagement/AST_HandleEndGenFun.sci
diff options
context:
space:
mode:
authoryash11122017-07-10 17:08:48 +0530
committeryash11122017-07-10 17:08:48 +0530
commit49d8281d2da2f4c6bf0e62d148a8a7328d3bf970 (patch)
tree8b555b3797807de0db3849f0d91664c12d785c9b /macros/ASTManagement/AST_HandleEndGenFun.sci
parentbd03b38be0918837e147e969c6bb2014900009db (diff)
downloadScilab2C_fossee_old-49d8281d2da2f4c6bf0e62d148a8a7328d3bf970.tar.gz
Scilab2C_fossee_old-49d8281d2da2f4c6bf0e62d148a8a7328d3bf970.tar.bz2
Scilab2C_fossee_old-49d8281d2da2f4c6bf0e62d148a8a7328d3bf970.zip
Arduino toolbox error Resolved
Diffstat (limited to 'macros/ASTManagement/AST_HandleEndGenFun.sci')
-rw-r--r--macros/ASTManagement/AST_HandleEndGenFun.sci4
1 files changed, 4 insertions, 0 deletions
diff --git a/macros/ASTManagement/AST_HandleEndGenFun.sci b/macros/ASTManagement/AST_HandleEndGenFun.sci
index e191f10..79ec976 100644
--- a/macros/ASTManagement/AST_HandleEndGenFun.sci
+++ b/macros/ASTManagement/AST_HandleEndGenFun.sci
@@ -75,6 +75,10 @@ disp_isthere = 0;
//NUT: verifica se ASTFunType e' veramente importante
// #RNU_RES_E
[ASTFunName,InArg,NInArg,OutArg,NOutArg] = AST_GetFuncallPrm(FileInfo,SharedInfo,ASTFunType);
+if (ASTFunType=='Funcall')
+SharedInfo.Function_list(SharedInfo.Function_list_index) = ASTFunName;
+SharedInfo.Function_list_index = SharedInfo.Function_list_index + 1;
+end
NOutArg_mod = NOutArg
if ASTFunName == 'OpLogAnd'
AST_PushASTStack('&&');