lilyp...@googlecode.com writes:

> Comment #5 on issue 1670 by k-ohara5...@oco.net: Allow numbers in
> variable names: violin1mvt2 = c'
> http://code.google.com/p/lilypond/issues/detail?id=1670
>
>> I think requiring quotes around variable definitions in order to
>> allow numbers would be a mistake.
>
> Just to be clear, only definitions of those variables with numbers
> need quotes:
>
> timpani =  \relative c, { ...
> "motif254" = { ...
> "violin1" = \relative c'' { ... \motif254
> \score {<< \violin1 \timpani >>}

The language should strive to be simple enough to be understandable to
simple local parsers, or you can forget about teaching it to smart
editors (syntax highlighting, indentation etc).

-- 
David Kastrup


_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to