Skip to content

Commit 080de72

Browse files
committed
Add some newlines to the printing of complex entities for readibility
1 parent 81c793c commit 080de72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/clstepcore/STEPcomplex.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ void STEPcomplex::STEPwrite( ostream & out, const char * currSch, int writeComme
565565
if( writeComment && !p21Comment.empty() ) {
566566
out << p21Comment;
567567
}
568-
out << "#" << STEPfile_id << "=(";
568+
out << "#" << STEPfile_id << "=(\n";
569569
WriteExtMapEntities( out, currSch );
570570
out << ");\n";
571571
}
@@ -597,7 +597,7 @@ void STEPcomplex::WriteExtMapEntities( ostream & out, const char * currSch ) {
597597
out << ",";
598598
}
599599
}
600-
out << ")";
600+
out << ")\n";
601601
if( sc ) {
602602
sc->WriteExtMapEntities( out, currSch );
603603
}
@@ -620,7 +620,7 @@ const char * STEPcomplex::WriteExtMapEntities( std::string & buf, const char * c
620620
buf.append( "," );
621621
}
622622
}
623-
buf.append( ")" );
623+
buf.append( ")\n" );
624624

625625
if( sc ) {
626626
sc->WriteExtMapEntities( buf, currSch );

0 commit comments

Comments
 (0)