bug-lilypond
[Top][All Lists]
Advanced

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

Re: variable parsing bug in 2.3.x


From: Erik Sandberg
Subject: Re: variable parsing bug in 2.3.x
Date: Sat, 14 Aug 2004 18:51:17 +0200
User-agent: KMail/1.6.2

On Tuesday 03 August 2004 00.24, Stefaan wrote:
> Well at least I think it is a bug:
>
> Variable names apparently can no longer contain digits in 2.3.x
> Convert-ly does not warn or change anything about offending definitions.
>
> I have tried with the 2.3.6 package (i.e. the most recent one that is
> available in .deb format).
>
> %% example: works in 2.2.3 but fails in 2.3.6 with "error: syntax
> %% error, unexpected DIGIT, expecting '='"
> %% on the line where v1 is defined.
>
> v1 = \notes{a}
> \score { \v1 }

lilypond 2.2 manual says:

"The name of an identifier should have alphabetic characters only; no numbers, 
underscores or dashes. The assignment should be outside of the \score block."

I.e., it should be considered a bug in 2.2 that you _could_ have digits in the 
variable name, since the manual says that you cannot. The 2.3 behaviour is 
the correct one.

Erik




reply via email to

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