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/SymbolTable/ST_InsOutArg.sci | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'macros/SymbolTable/ST_InsOutArg.sci') 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. -- cgit