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/SymbolTable/ST_InsOutArg.sci | |
parent | 43f050700865808bde98b87129070ded818961f1 (diff) | |
download | scilab2c-dafe68b1f05c3d1d288e7435b3f146326ea4eebc.tar.gz scilab2c-dafe68b1f05c3d1d288e7435b3f146326ea4eebc.tar.bz2 scilab2c-dafe68b1f05c3d1d288e7435b3f146326ea4eebc.zip |
Remove SCI2Cerror wrapping call
Diffstat (limited to 'macros/SymbolTable/ST_InsOutArg.sci')
-rw-r--r-- | macros/SymbolTable/ST_InsOutArg.sci | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/macros/SymbolTable/ST_InsOutArg.sci b/macros/SymbolTable/ST_InsOutArg.sci index c6051772..f10548fc 100644 --- a/macros/SymbolTable/ST_InsOutArg.sci +++ b/macros/SymbolTable/ST_InsOutArg.sci @@ -69,7 +69,7 @@ for counteroutput = 1:NOutArg elseif mtlb_strcmp(OutArg(counteroutput).Scope,'Global')
SymbTableFileName = GlobalVarsFileName;
else
- SCI2Cerror('Unknown scope ""'+OutArg(counteroutput).Scope+'"" for symbol: '+OutArg(counteroutput).Name);
+ error(9999, 'Unknown scope ""'+OutArg(counteroutput).Scope+'"" for symbol: '+OutArg(counteroutput).Name);
end
// #RNU_RES_B
PrintStringInfo(' Setting symbol ""'+OutArg(counteroutput).Name+'"" in '+SymbTableFileName+'.',ReportFileName,'file','y');
@@ -100,7 +100,8 @@ for counteroutput = 1:NOutArg PrintStringInfo('SCI2CERROR: Please check that you are not using variable ""'+OutArg(counteroutput).Name+'""',ReportFileName,'both','y');
PrintStringInfo('SCI2CERROR: with different sizes and/or types.',ReportFileName,'both','y');
PrintStringInfo(' ',ReportFileName,'both','y');
- SCI2Cerror(' ');
+ error(9999, 'SCI2CERROR: Symbol Table Conflict. Trying to insert again symbol ""'+...
+ OutArg(counteroutput).Name+'"" with different settings');
else
// #RNU_RES_B
// It's ok symbols do match.
|