diff options
author | jofret | 2010-06-23 19:44:55 +0000 |
---|---|---|
committer | jofret | 2010-06-23 19:44:55 +0000 |
commit | dafe68b1f05c3d1d288e7435b3f146326ea4eebc (patch) | |
tree | 441af19e42a3f486f2348ca1fd1824e7c9f3ff20 /macros/ASTManagement/AST_HandleWhileStatem.sci | |
parent | 43f050700865808bde98b87129070ded818961f1 (diff) | |
download | scilab2c-dafe68b1f05c3d1d288e7435b3f146326ea4eebc.tar.gz scilab2c-dafe68b1f05c3d1d288e7435b3f146326ea4eebc.tar.bz2 scilab2c-dafe68b1f05c3d1d288e7435b3f146326ea4eebc.zip |
Remove SCI2Cerror wrapping call
Diffstat (limited to 'macros/ASTManagement/AST_HandleWhileStatem.sci')
-rw-r--r-- | macros/ASTManagement/AST_HandleWhileStatem.sci | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/macros/ASTManagement/AST_HandleWhileStatem.sci b/macros/ASTManagement/AST_HandleWhileStatem.sci index 45d434f0..79fb516d 100644 --- a/macros/ASTManagement/AST_HandleWhileStatem.sci +++ b/macros/ASTManagement/AST_HandleWhileStatem.sci @@ -86,8 +86,7 @@ if(SharedInfo.WhileExpr.CondVar == '') PrintStringInfo('SCI2CERROR: Expected a variable or number in the AST while expression.','','stdout','y'); PrintStringInfo('SCI2CERROR: Report this error to http://forge.scilab.org/index.php/p/scilab2c/issues/.','','stdout','y'); PrintStringInfo(' ',ReportFileName,'both','y'); - SCI2Cerror(' '); - SCI2Cerror('Expected a conditional variable in the while expression'); + error(9999, 'Expected a conditional variable in the while expression'); end SharedInfo.WhileExpr.CondVar = ArgName; @@ -98,7 +97,7 @@ if(SharedInfo.WhileExpr.CondVar == '') AST_PushASTStack(Pop1); elseif (SharedInfo.WhileExpr.DimCondVar > 0) - SCI2CerrorFile('Cannot manage while with matrix conditions',ReportFileName); + error(9999, 'Cannot manage while with matrix conditions'); end SharedInfo = C_WhileExpression(FileInfo,SharedInfo); |