summaryrefslogtreecommitdiff
path: root/macros/ASTManagement/AST_ParseFuncallStruct.sci
diff options
context:
space:
mode:
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>')