print more details in STEPread_error()

This commit is contained in:
Mark Pictor committed 2011-11-14 20:28:41 -05:00
1 parent c4971681e5
commit 99abb18825
1 file changed
+7 -1
+7 -1
View File
@@ -496,7 +496,13 @@ void STEPcomplex::BuildAttrs( const char * s ) {
}
void STEPcomplex::STEPread_error( char c, int index, istream & in ) {
cout << "STEPcomplex::STEPread_error() \n";
cout << "STEPcomplex::STEPread_error(), index=" << index << ", entity #" << STEPfile_id << "." << endl;
streampos p = in.tellg();
std::string q,r;
getline(in,q);
getline(in,r);
cout << "Remainder of this line:" << endl << c << q << endl << "Next line:" << endl << r << endl;
in.seekg(p);
}
/**