summaryrefslogtreecommitdiff
path: root/macros/ASTManagement/AST_ReadASTHeader.sci
diff options
context:
space:
mode:
authorjofret2010-06-23 19:44:55 +0000
committerjofret2010-06-23 19:44:55 +0000
commitdafe68b1f05c3d1d288e7435b3f146326ea4eebc (patch)
tree441af19e42a3f486f2348ca1fd1824e7c9f3ff20 /macros/ASTManagement/AST_ReadASTHeader.sci
parent43f050700865808bde98b87129070ded818961f1 (diff)
downloadscilab2c-dafe68b1f05c3d1d288e7435b3f146326ea4eebc.tar.gz
scilab2c-dafe68b1f05c3d1d288e7435b3f146326ea4eebc.tar.bz2
scilab2c-dafe68b1f05c3d1d288e7435b3f146326ea4eebc.zip
Remove SCI2Cerror wrapping call
Diffstat (limited to 'macros/ASTManagement/AST_ReadASTHeader.sci')
-rw-r--r--macros/ASTManagement/AST_ReadASTHeader.sci10
1 files changed, 5 insertions, 5 deletions
diff --git a/macros/ASTManagement/AST_ReadASTHeader.sci b/macros/ASTManagement/AST_ReadASTHeader.sci
index 3df6cd28..7a52b1f2 100644
--- a/macros/ASTManagement/AST_ReadASTHeader.sci
+++ b/macros/ASTManagement/AST_ReadASTHeader.sci
@@ -38,7 +38,7 @@ if STACKDEDUG == 1
disp('Read AST Line: '+treeline);
end
if (SCI2Cstrncmps1size('Program',treeline) == %F)
- SCI2CerrorFile('Expected ""Program"" label in the AST',ReportFileName);
+ error(9999, 'Expected ""Program"" label in the AST');
end
tline = mgetl(fidAST,1);
@@ -48,7 +48,7 @@ if STACKDEDUG == 1
disp('Read AST Line: '+treeline);
end
if (SCI2Cstrncmps1size('Name : ',treeline) == %F)
- SCI2CerrorFile('Expected ""Name : "" label in the AST',ReportFileName);
+ error(9999, 'Expected ""Name : "" label in the AST');
else
ASTHeader.Name = stripblanks(part(treeline,length('Name : ')+1:length(treeline)));
end
@@ -60,7 +60,7 @@ if STACKDEDUG == 1
disp('Read AST Line: '+treeline);
end
if (SCI2Cstrncmps1size('Outputs: ',treeline) == %F)
- SCI2CerrorFile('Expected ""Outputs: "" label in the AST',ReportFileName);
+ error(9999, 'Expected ""Outputs: "" label in the AST');
else
ASTHeader.Outputs = stripblanks(part(treeline,length('Outputs: ')+1:length(treeline)));
end
@@ -72,7 +72,7 @@ if STACKDEDUG == 1
disp('Read AST Line: '+treeline);
end
if (SCI2Cstrncmps1size('Inputs : ',treeline) == %F)
- SCI2CerrorFile('Expected ""Inputs : "" label in the AST',ReportFileName);
+ error(9999, 'Expected ""Inputs : "" label in the AST');
else
ASTHeader.Inputs = stripblanks(part(treeline,length('Inputs : ')+1:length(treeline)));
end
@@ -84,7 +84,7 @@ if STACKDEDUG == 1
disp('Read AST Line: '+treeline);
end
if (SCI2Cstrncmps1size('Statements ',treeline) == %F)
- SCI2CerrorFile('Expected ""Statements "" label in the AST',ReportFileName);
+ error(9999, 'Expected ""Statements "" label in the AST');
end
endfunction