]> git.donarmstrong.com Git - lilypond.git/commit
Issue 3555: Parse context definitions and context modifications in \notemode
authorDavid Kastrup <dak@gnu.org>
Sun, 15 Sep 2013 13:53:51 +0000 (15:53 +0200)
committerDavid Kastrup <dak@gnu.org>
Fri, 20 Sep 2013 15:08:23 +0000 (17:08 +0200)
commit3b617fc949192eacf627413dac0420ebc54aebf6
tree6de8c03d1a7e9f532f32e14cdba90fe585732855
parent1cfb0ec2e4de3cf9cc33d92bc95f56319210e1fe
Issue 3555: Parse context definitions and context modifications in \notemode

Since context modifications and context definitions are somewhat more
concerned with musical content, it makes sense to parse them in a mode
where note names are recognized and can be used in music and scheme
function arguments.

The main argument for a separate INITIAL lexer mode is for being able
to specify REAL number values in a lenient syntax, such as .5\cm.
However, dimensions are almost never used in context definitions
or modifications but rather in output definitions like layout, midi,
paper and header blocks.
lily/parser.yy