summaryrefslogtreecommitdiff
path: root/macros/ASTManagement/AST_CheckLastFunc.sci
diff options
context:
space:
mode:
authorjofret2010-06-23 19:44:55 +0000
committerjofret2010-06-23 19:44:55 +0000
commitdafe68b1f05c3d1d288e7435b3f146326ea4eebc (patch)
tree441af19e42a3f486f2348ca1fd1824e7c9f3ff20 /macros/ASTManagement/AST_CheckLastFunc.sci
parent43f050700865808bde98b87129070ded818961f1 (diff)
downloadscilab2c-dafe68b1f05c3d1d288e7435b3f146326ea4eebc.tar.gz
scilab2c-dafe68b1f05c3d1d288e7435b3f146326ea4eebc.tar.bz2
scilab2c-dafe68b1f05c3d1d288e7435b3f146326ea4eebc.zip
Remove SCI2Cerror wrapping call
Diffstat (limited to 'macros/ASTManagement/AST_CheckLastFunc.sci')
-rw-r--r--macros/ASTManagement/AST_CheckLastFunc.sci4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/ASTManagement/AST_CheckLastFunc.sci b/macros/ASTManagement/AST_CheckLastFunc.sci
index 0fff6b22..508435b7 100644
--- a/macros/ASTManagement/AST_CheckLastFunc.sci
+++ b/macros/ASTManagement/AST_CheckLastFunc.sci
@@ -53,9 +53,9 @@ if ((SearchLevel == 0) & (LhsField == 'Lhs :'))
while(LhsField ~= 'EndEqual')
NLhsArg = NLhsArg + 1;
if (LhsField == '<EOL>')
- SCI2Cerror('Found <EOL> before EndEqual');
+ error(9999, 'Found <EOL> before EndEqual');
elseif (LhsField == 'EndProgram')
- SCI2Cerror('Found EndProgram before EndEqual');
+ error(9999, 'Found EndProgram before EndEqual');
end
if (LhsField == 'Operation')
// if (LhsField == 'Operator: ins')