]> git.donarmstrong.com Git - lilypond.git/commit
Issue 3553/1: get_default_interpreter should create contexts with missing context_id
authorDavid Kastrup <dak@gnu.org>
Thu, 12 Sep 2013 17:25:17 +0000 (19:25 +0200)
committerDavid Kastrup <dak@gnu.org>
Fri, 20 Sep 2013 15:23:26 +0000 (17:23 +0200)
commitd756b5523a8d82491f734d79943314c5e6cd35b4
tree702e7101d1792a5a72bdeac89a4b061aa1465eda
parent0fe21050c324f0c9fe4d06d68178172623df2493
Issue 3553/1: get_default_interpreter should create contexts with missing context_id

At the current point of time, an existing bottom context is returned
even when there is a mismatch in ids.  For example, when writing

\context Voice = "one" <<
  { \voiceOne g' g' g' g' }
  \context Voice = "two" { \voiceTwo c' c' c' c' }
>>

creates two voices, while

\context Bottom = "one" <<
  { \voiceOne g' g' g' g' }
  \context Bottom = "two" { \voiceTwo c' c' c' c' }
>>

only uses a single Voice called "one".  This is arguably wrong.
lily/context.cc