]> git.donarmstrong.com Git - lilypond.git/commit
Issue 4798/2: Prepare override/revert to deal with numeric subkeys
authorDavid Kastrup <dak@gnu.org>
Mon, 7 Mar 2016 11:13:06 +0000 (12:13 +0100)
committerDavid Kastrup <dak@gnu.org>
Sat, 19 Mar 2016 13:20:03 +0000 (14:20 +0100)
commit17440eeed8ec9fc6714d5b418387fb162d232003
treec63b48e6e3ec2881431579eb681cb7bf7ddf7f63
parentec91a9a4bdd186d7af88381a10a2923ac949d33c
Issue 4798/2: Prepare override/revert to deal with numeric subkeys

Those are fairly cosmetic changes (partly comments) to prepare for the
possibility of using override/revert with numeric subkeys while
retaining the necessity of using a symbol as the main property in a
Context.Grob.property.subproperties... n-tuple since the organization of
an "nalist" (an alist stack containing reversible subproperty overrides)
relies on a few special key values: currently pairs and booleans are
specially interpreted while the current implementation requires an
eq?-comparable first index for efficiency reasons.
lily/context-property.cc
lily/nested-property.cc