summaryrefslogtreecommitdiff
path: root/macros/ASTManagement/AST_HandleEndGenFun.sci
diff options
context:
space:
mode:
authorimushir2016-02-09 16:38:27 +0530
committerimushir2016-02-09 16:38:27 +0530
commitee5bf4d90f78673d1e4d5a9dd304ee53c503c085 (patch)
tree696221a8f8a3dffeb50d12ea287dfbdfab919fc6 /macros/ASTManagement/AST_HandleEndGenFun.sci
parent8ee41aca4183a0239b9cb220de3f159b1f0910fb (diff)
downloadscilab2c-ee5bf4d90f78673d1e4d5a9dd304ee53c503c085.tar.gz
scilab2c-ee5bf4d90f78673d1e4d5a9dd304ee53c503c085.tar.bz2
scilab2c-ee5bf4d90f78673d1e4d5a9dd304ee53c503c085.zip
Support for Servo motor for Arduino. Support for'diag' in c
Diffstat (limited to 'macros/ASTManagement/AST_HandleEndGenFun.sci')
-rw-r--r--macros/ASTManagement/AST_HandleEndGenFun.sci5
1 files changed, 3 insertions, 2 deletions
diff --git a/macros/ASTManagement/AST_HandleEndGenFun.sci b/macros/ASTManagement/AST_HandleEndGenFun.sci
index f6ae58e7..7d940b84 100644
--- a/macros/ASTManagement/AST_HandleEndGenFun.sci
+++ b/macros/ASTManagement/AST_HandleEndGenFun.sci
@@ -209,7 +209,7 @@ global STACKDEDUG
if ((InArg(cntin).Dimension > 0))
// if ((InArg(cntin).Dimension > 0) & (InArg(cntin).Scope ~= 'Global'))
InArg(cntin).Size(1) = '__'+InArg(cntin).Name+'Size[0]';
- InArg(cntin).Size(2) = '__'+InArg(cntin).Name+'Size[1]';
+ InArg(cntin).Size(2) = '__'+InArg(cntin).Name+'Size[1]';s
end
//#RNUREM_MERNU vedi se la seguente fa casino l'ho aggiunta in modo che agia=ones(1,3) sia generata come realloc ma non ho verificato.
tmpscope = InArg(cntin).Scope;
@@ -356,7 +356,8 @@ global STACKDEDUG
//#RNU_RES_E
CFunName = C_GenerateFunName(ASTFunName,InArg,NInArg,OutArg,NOutArg);
- //#RNU_RES_B
+
+ //#RNU_RES_B
PrintStringInfo(' C Function Name: '+CFunName,ReportFileName,'file','y');
if(IsArduinoFunction(ASTFunName))
if(IsArduinoSetupFunction(ASTFunName))