Status: Accepted
Owner: ----
New issue 1495 by jan.nieuwenhuizen: mac line endings and line comment
disaster
http://code.google.com/p/lilypond/issues/detail?id=1495
In certain cases, adding a line comment in a .ly that uses
Mac-style line ending (^M-only) has the effect of commenting-out
the rest of the file.
Here's what Lily does with the attached file
$ LANG= out/bin/lilypond ~/mac-line-endings-percent-breakage.ly
GNU LilyPond 2.13.47
Processing `/home/janneke/mac-line-endings-percent-breakage.ly'
Parsing...
/home/janneke/mac-line-endings-percent-breakage.ly:0: warning: no \version
statement found, please add
\version "2.13.47"
for future compatibility
/home/janneke/vc/lilypond/out/share/lilypond/current/ly/init.ly:73:66:
error: syntax error, unexpected $end
(ly:parser-error parser (_ "expected error, but none found"))))
error: failed files: "/home/janneke/mac-line-endings-percent-breakage.ly"
[1]21:45:56 janneke@vuurvlieg:~/vc/lilypond
$
Attachments:
mac-line-endings-percent-breakage.ly 384 bytes
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond