From: fred Date: Tue, 26 Mar 2002 22:43:42 +0000 (+0000) Subject: lilypond-1.3.7 X-Git-Tag: release/1.5.59~1974 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=713983fb654c18220bf774c6b09db9993d99bd8d;p=lilypond.git lilypond-1.3.7 --- diff --git a/lily/paper-stream.cc b/lily/paper-stream.cc index f7844a8995..fa6ec8c7a0 100644 --- a/lily/paper-stream.cc +++ b/lily/paper-stream.cc @@ -25,7 +25,7 @@ Paper_stream::Paper_stream (String filename) error (_f ("Can't open file: `%s'", filename)); nest_level = 0; line_len_i_ = 0; - outputting_comment=false; + outputting_comment_b_=false; } Paper_stream::~Paper_stream () @@ -46,13 +46,13 @@ Paper_stream::operator << (String s) { for (char const *cp = s.ch_C (); *cp; cp++) { - if (outputting_comment) + if (outputting_comment_b_) { *os << *cp; if (*cp == '\n') { - outputting_comment=false; - + outputting_comment_b_=false; + line_len_i_ =0; } continue; } @@ -60,7 +60,7 @@ Paper_stream::operator << (String s) switch (*cp) { case '%': - outputting_comment = true; + outputting_comment_b_ = true; *os << *cp; break; case '{': @@ -108,6 +108,7 @@ Paper_stream::break_line () { *os << '\n'; *os << to_str (' ', nest_level); + outputting_comment_b_ = false; line_len_i_ = 0; }