diff options
author | jofret | 2010-06-23 19:44:55 +0000 |
---|---|---|
committer | jofret | 2010-06-23 19:44:55 +0000 |
commit | dafe68b1f05c3d1d288e7435b3f146326ea4eebc (patch) | |
tree | 441af19e42a3f486f2348ca1fd1824e7c9f3ff20 /macros/ASTManagement/AST_HandleHeader.sci | |
parent | 43f050700865808bde98b87129070ded818961f1 (diff) | |
download | scilab2c-dafe68b1f05c3d1d288e7435b3f146326ea4eebc.tar.gz scilab2c-dafe68b1f05c3d1d288e7435b3f146326ea4eebc.tar.bz2 scilab2c-dafe68b1f05c3d1d288e7435b3f146326ea4eebc.zip |
Remove SCI2Cerror wrapping call
Diffstat (limited to 'macros/ASTManagement/AST_HandleHeader.sci')
-rw-r--r-- | macros/ASTManagement/AST_HandleHeader.sci | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/macros/ASTManagement/AST_HandleHeader.sci b/macros/ASTManagement/AST_HandleHeader.sci index 7439b784..661c740f 100644 --- a/macros/ASTManagement/AST_HandleHeader.sci +++ b/macros/ASTManagement/AST_HandleHeader.sci @@ -30,8 +30,8 @@ ReportFileName = FileInfo.Funct(nxtscifunnumber).ReportFileName; FunctionName = ASTHeader.Name; if (mtlb_strcmp(ASTHeader.Name,SharedInfo.NextSCIFunName) == %F) - SCI2CerrorFile('Very strange! AST Name field ""'+ASTHeader.Name+... - '""is different from function name ""'+SharedInfo.NextSCIFunName+'"".',ReportFileName); + error(9999, 'Very strange! AST Name field ""'+ASTHeader.Name+... + '""is different from function name ""'+SharedInfo.NextSCIFunName+'"".'); end // --------------------------- // --- End Initialization. --- @@ -136,7 +136,7 @@ if (NInArgDat == NInArg) end end else - SCI2CerrorFile('Number of input arguments specified in AST is different from the number specified in .dat file.',ReportFileName); + error(9999, 'Number of input arguments specified in AST is different from the number specified in .dat file.'); end @@ -149,7 +149,7 @@ else PrintStringInfo('N. of output arguments found in the AST: '+string(NOutArg),ReportFileName,'both','y'); PrintStringInfo('N. of output arguments found in the call (FunInfo structure): '+string(SharedInfo.CurrentFunInfo.NOutArg),ReportFileName,'both','y'); //#RNU_RES_E - SCI2CerrorFile('Number of output arguments specified in AST is different from the number specified in .dat file.',ReportFileName); + error(9999, 'Number of output arguments specified in AST is different from the number specified in .dat file.'); end //#RNU_RES_B //NUT: using approach 1: Setting for input and output arguments symbolic sizes. |