bug-lilypond
[Top][All Lists]
Advanced

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

Lilypond's error column printer confuses bytes and characters


From: David Kastrup
Subject: Lilypond's error column printer confuses bytes and characters
Date: Sun, 04 Oct 2009 12:16:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

> I'm not top-posting

The following input file:

Attachment: bad.ly
Description: Binary data

leads to the following error output (which hacks an utf-8 character into
pieces, replaced by printable octal sequences to make this transfer
better via mail):

GNU LilyPond 2.13.4
Processing `bad.ly'
Parsing...
bad.ly:4:16: error: syntax error, unexpected MUSIC_IDENTIFIER
     Määä A\342\231
                \257 B♭ \break
error: failed files: "bad.ly"

Apparently, the error column is being tracked by counting characters,
but is displayed by counting bytes.  The indicator appears too early
because of that (which caused me to look for the wrong bug in an input
file of mine).

-- 
David Kastrup

reply via email to

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