Status: New
Owner: ----
Labels: Type-Enhancement Patch-new
New issue 2931 by [email protected]: Patch: Allow quoted identifiers like to be
used like \"violin1", not just defined.
http://code.google.com/p/lilypond/issues/detail?id=2931
Allow quoted identifiers like to be used like \"violin1", not
just defined.
Consists of the following four commits:
Add regtest for quoted identifiers
Allow quoted identifiers like to be used like \"violin1", not
just defined.
A frequent complaint is the absence of identifiers with numbers in
them, like violin1.
Defining such identifiers has always been possible with
"violin1" = { c''4 c c c }
This patch lets one actually use them by calling them with
\"violin1"
lexer.ll: duplicate a few quotes in character sets to help syntax
highlighting
This uses regular expressions like [^''] rather than [^'] in order to keep
the confusion of editors like Emacs tolerable.
lexer.ll: lyric_quote was not necessary as separate state.
http://codereview.appspot.com/6778055