diff options
author | Sunil Shetye | 2019-05-16 12:36:11 +0530 |
---|---|---|
committer | Sunil Shetye | 2019-05-29 11:08:03 +0530 |
commit | 5808c44e344c3f80504ec93d2bb588e83d0170b8 (patch) | |
tree | 6dad3b3663903bad863721a28a39b6d79f942d4c /macros/ASTManagement | |
parent | 26b77d7593b5ee0792b6b556f5569ea4227c2b02 (diff) | |
download | scilab2c-5808c44e344c3f80504ec93d2bb588e83d0170b8.tar.gz scilab2c-5808c44e344c3f80504ec93d2bb588e83d0170b8.tar.bz2 scilab2c-5808c44e344c3f80504ec93d2bb588e83d0170b8.zip |
replace SCI2Cerror
Diffstat (limited to 'macros/ASTManagement')
-rw-r--r-- | macros/ASTManagement/AST_CheckLineLength.sci | 2 | ||||
-rw-r--r-- | macros/ASTManagement/Operator2FunName.sci | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/macros/ASTManagement/AST_CheckLineLength.sci b/macros/ASTManagement/AST_CheckLineLength.sci index 3973b188..78205f09 100644 --- a/macros/ASTManagement/AST_CheckLineLength.sci +++ b/macros/ASTManagement/AST_CheckLineLength.sci @@ -25,7 +25,7 @@ SCI2CNInArgCheck(argn(2),1,1); // TODO : Remove me //if length(instring) > 77 -// SCI2Cerror('Line too long: please reduce the length of the current line.'); +// error(9999, 'Line too long: please reduce the length of the current line.'); //end endfunction diff --git a/macros/ASTManagement/Operator2FunName.sci b/macros/ASTManagement/Operator2FunName.sci index 18878ebf..eb1a0ee9 100644 --- a/macros/ASTManagement/Operator2FunName.sci +++ b/macros/ASTManagement/Operator2FunName.sci @@ -59,7 +59,7 @@ elseif (OperatorName == '.\') FunName = FuncPrefix+'DotBackSlash'+FuncSuffix; elseif (OperatorName == '\') //PrintStringInfo('SCI2CERROR: Operator ""'+OperatorName+'"" not supported.','','stout','y'); - //SCI2Cerror(' '); + //error(9999, 'SCI2CERROR: Operator ""'+OperatorName+'"" not supported.'); FunName = FuncPrefix+'BackSlash'+FuncSuffix; elseif (OperatorName == '.\') PrintStringInfo('SCI2CERROR: Operator ""'+OperatorName+'"" not supported.','','stout','y'); |