]> git.donarmstrong.com Git - lilypond.git/commit
Let #{ 4 #} be a duration while #{ 4 \cm #} stays a length
authorDavid Kastrup <dak@gnu.org>
Tue, 5 Nov 2013 16:12:17 +0000 (17:12 +0100)
committerDavid Kastrup <dak@gnu.org>
Tue, 19 Nov 2013 10:06:08 +0000 (11:06 +0100)
commitde97ffe8a26be14f4187ff26315f18b9a39224bd
treeaaf390f996f6175fac0d749ddef620853c427b6b
parenta775c0535512573cb013cd230a2630dffd933ac0
Let #{ 4 #} be a duration while #{ 4 \cm #} stays a length

An UNSIGNED not followed by a NUMERIC_IDENTIFIER inside of #{ ... #}
is interpreted as a duration rather than a number.  Also, inside
of #{ ... #} no "numeric expressions" using binary operators +-*/ are
interpreted.

The behavior of (signed and unsigned) integers and numeric expressions
in assignments and as function arguments rather than inside
of #{ ... #} is not affected.
lily/parser.yy