summaryrefslogtreecommitdiff
path: root/macros/ASTManagement/AST_HandleEndGenFun.sci
diff options
context:
space:
mode:
authorsiddhu89902016-03-07 20:42:23 +0530
committersiddhu89902016-03-07 20:42:23 +0530
commitd4a4045b5dff59c799ee846052152298dfe6c210 (patch)
treef32505972d3eef62d955dffe94a35a976f0318b0 /macros/ASTManagement/AST_HandleEndGenFun.sci
parent35b57256f07876c1a54bdcf4cc55e0f0612ae6a9 (diff)
downloadscilab2c-d4a4045b5dff59c799ee846052152298dfe6c210.tar.gz
scilab2c-d4a4045b5dff59c799ee846052152298dfe6c210.tar.bz2
scilab2c-d4a4045b5dff59c799ee846052152298dfe6c210.zip
Errors in bit***.h files fixed
Diffstat (limited to 'macros/ASTManagement/AST_HandleEndGenFun.sci')
-rw-r--r--macros/ASTManagement/AST_HandleEndGenFun.sci6
1 files changed, 6 insertions, 0 deletions
diff --git a/macros/ASTManagement/AST_HandleEndGenFun.sci b/macros/ASTManagement/AST_HandleEndGenFun.sci
index 696846e2..4dfaec9a 100644
--- a/macros/ASTManagement/AST_HandleEndGenFun.sci
+++ b/macros/ASTManagement/AST_HandleEndGenFun.sci
@@ -193,6 +193,12 @@ global STACKDEDUG
FileInfo.GlobalVarFileName);
end
else
+ //Change the scope of function name from variable to string,
+ //as it is passed as string to C function. Also enter this function
+ //in conversion list also.
+ if(ASTFunName == 'ode')
+ InArg(4).Scope = 'String';
+ end
[InArg,SharedInfo] = ST_GetInArgInfo(InArg,NInArg,FileInfo,SharedInfo);
end