lilypond-1.5.10
[lilypond.git] / lily / request-iterator.cc
blob51c7604281988204c346c1a4f3a40354796abeea
1 /*
2 request-iterator.cc -- implement Simple_music_iterator
4 source file of the GNU LilyPond music typesetter
6 (c) 2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
8 */
9 #include "request-iterator.hh"
10 #include "music.hh"
11 #include "input.hh"
13 void
14 Simple_music_iterator::do_process_and_next (Moment m)
16 if (first_b_)
18 bool g= try_music (music_l_);
19 if (!g)
20 music_l_->origin ()->warning (_f ("Junking music: `%s'", classname(music_l_)));
22 first_b_ = false;
24 Music_iterator::do_process_and_next (m);