diff options
author | Brijeshcr | 2017-07-06 15:48:47 +0530 |
---|---|---|
committer | GitHub | 2017-07-06 15:48:47 +0530 |
commit | ea958d3c401761dcc24865d9639b2fab31038db8 (patch) | |
tree | 8cea93113a46d7015d1a10638778f92275a0ca94 /macros/ASTManagement/AST_HandleIfElse.sci | |
parent | cb1d99232e521c34e9f0c271a6c4176cc7b9cbe4 (diff) | |
download | Scilab2C_fossee_old-ea958d3c401761dcc24865d9639b2fab31038db8.tar.gz Scilab2C_fossee_old-ea958d3c401761dcc24865d9639b2fab31038db8.tar.bz2 Scilab2C_fossee_old-ea958d3c401761dcc24865d9639b2fab31038db8.zip |
Revert "LinearAlgebra Function Added"
Diffstat (limited to 'macros/ASTManagement/AST_HandleIfElse.sci')
-rw-r--r-- | macros/ASTManagement/AST_HandleIfElse.sci | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/macros/ASTManagement/AST_HandleIfElse.sci b/macros/ASTManagement/AST_HandleIfElse.sci index 5373adf..2b549ed 100644 --- a/macros/ASTManagement/AST_HandleIfElse.sci +++ b/macros/ASTManagement/AST_HandleIfElse.sci @@ -74,11 +74,13 @@ global STACKDEDUG // --------------------------------------------------- //#RNU_RES_E if (ASTIfExpType~='else') - [IfCondArg,NIfCondArg] = AST_ParseIfExprStruct(FileInfo,SharedInfo,ASTIfExpType); + [IfCondArg,NIfCondArg,Op,NOp] = 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 @@ -87,6 +89,6 @@ end // ----------------------------- // --- Generate the C code for if/elseif Expression. --- //#RNU_RES_E -SharedInfo = C_IfExpression(IfCondArg,NIfCondArg,ASTIfExpType,FileInfo,SharedInfo); +SharedInfo = C_IfExpression(IfCondArg,NIfCondArg,Op,NOp,ASTIfExpType,FileInfo,SharedInfo); endfunction |