]> git.donarmstrong.com Git - lilypond.git/commit
Issue 5116/1: Allow \change to same context type
authorDavid Kastrup <dak@gnu.org>
Thu, 6 Apr 2017 07:50:24 +0000 (09:50 +0200)
committerDavid Kastrup <dak@gnu.org>
Thu, 13 Apr 2017 06:04:30 +0000 (08:04 +0200)
commit0a5768354b85264bc474baff8752f2c3e205cbe2
treea50eca5b93ed231fa72e033d086f7ab45674764c
parent42952dd74fdb084ed0101ebf528ea0263277a902
Issue 5116/1: Allow \change to same context type

The \change command no longer refuses to change the parent of a
context when the context itself would be of the proper type to
change to.  This allows changing the parent of a context that
could be nested, like StaffGroup in StaffGroup or NullVoice
in Staff (since NullVoice is also aliased to Staff).
lily/change-iterator.cc
lily/context.cc