]> git.donarmstrong.com Git - lilypond.git/commit
Issue 2869: Regularize lyrics lexer mode
authorDavid Kastrup <dak@gnu.org>
Sun, 30 Sep 2012 00:21:00 +0000 (02:21 +0200)
committerDavid Kastrup <dak@gnu.org>
Wed, 3 Oct 2012 13:28:11 +0000 (15:28 +0200)
commit38a4081efa4a8ee2f5da780ca0ed2991627afc46
tree9c890c694d7780d3fcd96284a1abe18dc64ac996
parentdc34d5a3c2394ce1b56882b4097673da86941c7e
Issue 2869: Regularize lyrics lexer mode

That makes lyrics mode rather similar to markup mode regarding how
words are formed.  {} are never considered part of words unless
enclosed in quotes.  Unquoted words do not contain whitespace, braces,
quotes, backslashes, numbers or Scheme expressions.  In addition, they
cannot start with * . = and | since that would mess with duration,
assignment and barcheck syntax.  This removes some remaining
TeX-oriented cruft in the lexer.  The set of word-non-starters might
need revisiting, but at least the regtests seem to pass.
lily/lexer.ll