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, 18 Oct 2009 15:56:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

> I am not topposting

I reported this bug once already, but its distribution was haphazard
(never got to gmane) and nobody entered it into the bug tracker.

The following input file:

Attachment: bin2jX8eDNUTu.bin
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]