From dafe68b1f05c3d1d288e7435b3f146326ea4eebc Mon Sep 17 00:00:00 2001 From: jofret Date: Wed, 23 Jun 2010 19:44:55 +0000 Subject: Remove SCI2Cerror wrapping call --- macros/ASTManagement/AST_CheckLastFunc.sci | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'macros/ASTManagement/AST_CheckLastFunc.sci') 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 == '') - SCI2Cerror('Found before EndEqual'); + error(9999, 'Found before EndEqual'); elseif (LhsField == 'EndProgram') - SCI2Cerror('Found EndProgram before EndEqual'); + error(9999, 'Found EndProgram before EndEqual'); end if (LhsField == 'Operation') // if (LhsField == 'Operator: ins') -- cgit