summaryrefslogtreecommitdiff
path: root/macros/ASTManagement/AST_ParseFuncallStruct.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_ParseFuncallStruct.sci
parent43f050700865808bde98b87129070ded818961f1 (diff)
downloadscilab2c-dafe68b1f05c3d1d288e7435b3f146326ea4eebc.tar.gz
scilab2c-dafe68b1f05c3d1d288e7435b3f146326ea4eebc.tar.bz2
scilab2c-dafe68b1f05c3d1d288e7435b3f146326ea4eebc.zip
Remove SCI2Cerror wrapping call
Diffstat (limited to 'macros/ASTManagement/AST_ParseFuncallStruct.sci')
-rw-r--r--macros/ASTManagement/AST_ParseFuncallStruct.sci4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/ASTManagement/AST_ParseFuncallStruct.sci b/macros/ASTManagement/AST_ParseFuncallStruct.sci
index 5840c05e..647a70d7 100644
--- a/macros/ASTManagement/AST_ParseFuncallStruct.sci
+++ b/macros/ASTManagement/AST_ParseFuncallStruct.sci
@@ -62,9 +62,9 @@ while (RhsField ~= 'Rhs :')
[InputArgumentNames(NInArg),InputArgumentScope(NInArg)] = AST_ExtractNameAndScope(RhsField);
RhsField = AST_PopASTStack();
if (RhsField == '#lhs :')
- SCI2Cerror('Found #lhs before Rhs');
+ error(9999, 'Found #lhs before Rhs');
elseif (RhsField == 'Funcall :')
- SCI2Cerror('Found Funcall before Rhs');
+ error(9999, 'Found Funcall before Rhs');
end
end
if (stripblanks(InputArgumentNames(NInArg)) == '<empty>')