bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issue 1495 in lilypond: mac line endings and line comment disaster


From: lilypond
Subject: Issue 1495 in lilypond: mac line endings and line comment disaster
Date: Fri, 28 Jan 2011 20:51:29 +0000

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 address@hidden:~/vc/lilypond
$

Attachments:
        mac-line-endings-percent-breakage.ly  384 bytes




reply via email to

[Prev in Thread] Current Thread [Next in Thread]