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".
Check bar checks. We do this outside the engravers so that you can
race through the score using skipTypesetting to correct durations.
*/
-class Bar_check_iterator : Music_iterator
+class Bar_check_iterator : Simple_music_iterator
{
public:
virtual void process (Moment);
void
Bar_check_iterator::process (Moment m)
{
- Music_iterator::process (m);
+ Simple_music_iterator::process (m);
if (!m.to_bool ())
{
Context *tr = get_outlet ();