summaryrefslogtreecommitdiff
path: root/macros/ASTManagement/AST_HandleIfElse.sci
diff options
context:
space:
mode:
authorSandeep Gupta2017-07-05 12:41:25 +0530
committerSandeep Gupta2017-07-05 12:41:25 +0530
commit06337f0dc8114c70fd0c7767083971a0d091750a (patch)
tree446481550ba88e6e0f7df2db7fdc66d2016ee2f1 /macros/ASTManagement/AST_HandleIfElse.sci
parentc2e305c3b82ed944d57402dd515b3d5839a31980 (diff)
downloadscilab2c-06337f0dc8114c70fd0c7767083971a0d091750a.tar.gz
scilab2c-06337f0dc8114c70fd0c7767083971a0d091750a.tar.bz2
scilab2c-06337f0dc8114c70fd0c7767083971a0d091750a.zip
LinearAlgebra and MatrixOperation Update
Diffstat (limited to 'macros/ASTManagement/AST_HandleIfElse.sci')
-rw-r--r--macros/ASTManagement/AST_HandleIfElse.sci6
1 files changed, 2 insertions, 4 deletions
diff --git a/macros/ASTManagement/AST_HandleIfElse.sci b/macros/ASTManagement/AST_HandleIfElse.sci
index 2b549ed6..5373adf6 100644
--- a/macros/ASTManagement/AST_HandleIfElse.sci
+++ b/macros/ASTManagement/AST_HandleIfElse.sci
@@ -74,13 +74,11 @@ global STACKDEDUG
// ---------------------------------------------------
//#RNU_RES_E
if (ASTIfExpType~='else')
- [IfCondArg,NIfCondArg,Op,NOp] = AST_ParseIfExprStruct(FileInfo,SharedInfo,ASTIfExpType);
+ [IfCondArg,NIfCondArg] = AST_ParseIfExprStruct(FileInfo,SharedInfo,ASTIfExpType);
else
// "else" type doesn't contain any condition to test.
IfCondArg = '';
NIfCondArg = 0;
- Op = '';
- NOp = 0;
end
//#RNU_RES_B
@@ -89,6 +87,6 @@ end
// -----------------------------
// --- Generate the C code for if/elseif Expression. ---
//#RNU_RES_E
-SharedInfo = C_IfExpression(IfCondArg,NIfCondArg,Op,NOp,ASTIfExpType,FileInfo,SharedInfo);
+SharedInfo = C_IfExpression(IfCondArg,NIfCondArg,ASTIfExpType,FileInfo,SharedInfo);
endfunction