@@ -305,7 +305,7 @@ Severity STEPcomplex::STEPread( int id, int addFileId, class InstMgr * instance_
305305 " Missing open paren before entity attr values.\n " );
306306 cout << " ERROR: missing open paren\n " ;
307307 _error.GreaterSeverity ( SEVERITY_INPUT_ERROR );
308- STEPread_error ( c, 0 , in );
308+ STEPread_error ( c, 0 , in, currSch );
309309 return _error.severity ();
310310 }
311311
@@ -320,7 +320,7 @@ Severity STEPcomplex::STEPread( int id, int addFileId, class InstMgr * instance_
320320 _error.AppendToDetailMsg (
321321 " Complex entity part of instance does not exist.\n " );
322322 _error.GreaterSeverity ( SEVERITY_INPUT_ERROR );
323- STEPread_error ( c, 0 , in );
323+ STEPread_error ( c, 0 , in, currSch );
324324 return _error.severity ();
325325 }
326326 in >> ws;
@@ -371,7 +371,7 @@ Severity STEPcomplex::STEPread( int id, int addFileId, class InstMgr * instance_
371371 " Missing open paren before entity attr values.\n " );
372372 cout << " ERROR: missing open paren\n " ;
373373 _error.GreaterSeverity ( SEVERITY_INPUT_ERROR );
374- STEPread_error ( c, 0 , in );
374+ STEPread_error ( c, 0 , in, currSch );
375375 return _error.severity ();
376376 } else { // c == '('
377377 in.putback ( c );
@@ -399,7 +399,7 @@ Severity STEPcomplex::STEPread( int id, int addFileId, class InstMgr * instance_
399399 " Missing open paren before entity attr values.\n " );
400400 cout << " ERROR: missing open paren\n " ;
401401 _error.GreaterSeverity ( SEVERITY_INPUT_ERROR );
402- STEPread_error ( c, 0 , in );
402+ STEPread_error ( c, 0 , in, currSch );
403403 return _error.severity ();
404404 } else { // c == '('
405405 in.putback ( c );
@@ -543,7 +543,8 @@ void STEPcomplex::BuildAttrs( const char * s ) {
543543 }
544544}
545545
546- void STEPcomplex::STEPread_error ( char c, int index, istream & in ) {
546+ void STEPcomplex::STEPread_error ( char c, int index, istream & in, const char * schnm ) {
547+ (void ) schnm; // unused
547548 cout << " STEPcomplex::STEPread_error(), index=" << index << " , entity #" << STEPfile_id << " ." << endl;
548549 streampos p = in.tellg ();
549550 std::string q, r;
0 commit comments