Re: LilyPond dies silently if file starts with UTF-8 character

2006-11-01 Thread Bertalan Fodor

Isn't it an UTF-8Y file?

Bert

Mats Bengtsson írta:

Hi,

By mistake, I happened to insert a character like "é" at the top level 
of a

.ly file and to my surprise, LilyPond dies silently with

GNU LilyPond 2.9.28
Processing `/tmp/a.ly'
Parsing...

and the exit code is zero. In contrast, if I add a stray ASCII 
character at the top level
of a file, I get a syntax error. The same problem happens both in the 
latest 2.9.x and

in 2.8.

Example:

\version "2.9.28"
é
\relative c'{
c d e f
}

  /Mats



___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond




___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: LilyPond dies silently if file starts with UTF-8 character

2006-11-02 Thread Graham Percival

Thanks,
http://code.google.com/p/lilypond/issues/detail?id=134

- Graham

Mats Bengtsson wrote:

Hi,

By mistake, I happened to insert a character like "é" at the top level of a
.ly file and to my surprise, LilyPond dies silently with

GNU LilyPond 2.9.28
Processing `/tmp/a.ly'
Parsing...

and the exit code is zero. In contrast, if I add a stray ASCII character 
at the top level
of a file, I get a syntax error. The same problem happens both in the 
latest 2.9.x and

in 2.8.

Example:

\version "2.9.28"
é
\relative c'{
c d e f
}

  /Mats



___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond





___
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond