lilypond-1.3.69
[lilypond.git] / lily / request-iterator.cc
blob6cefe8b5b5cf166e9c76199b34efa1640ef7fb86
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"
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_->warning (_f ("Junking music: `%s'", classname(music_l_)));
22 first_b_ = false;
24 Music_iterator::do_process_and_next (m);