]> git.donarmstrong.com Git - lilypond.git/commit - lily/bar-check-iterator.cc
Revert "Issue 3205: opening bar check causes crash if \score contains the \midi block"
authorDavid Kastrup <dak@gnu.org>
Mon, 14 Oct 2013 14:49:57 +0000 (16:49 +0200)
committerDavid Kastrup <dak@gnu.org>
Sat, 19 Oct 2013 08:25:56 +0000 (10:25 +0200)
commit658610548cc34ffbd4c9576c8989b9e209dfede9
tree0809e2cc068fe927da37c6335fd852ed56d4693b
parent10cd53532769964795ed9a71a8d5c82d674797e0
Revert "Issue 3205: opening bar check causes crash if \score contains the \midi block"

This reverts commit c83a3afbc51c62769cbb8963371d37b312bbcd42.

The replacement of Simple_music_iterator with Music_iterator in
lily/bar-check-iterator.cc made bar checks at the start of music
expressions inoperative altogether, even when not at a bar boundary:

{ a a { | } a a }

stopped producing a diagnostic.  Issue 3205 instead needs to be fixed
together with issue 2392 which apparently may be called "Segfault in
Midi when Simple_music_iterator is used at the beginning of an
implicitly created context".
lily/bar-check-iterator.cc