]> git.donarmstrong.com Git - lilypond.git/blob - lily/compressed-music-iterator.cc
release: 1.1.15
[lilypond.git] / lily / compressed-music-iterator.cc
1 /*   
2   compressed-music-iterator.cc --  implement Compressed_music_iterator
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #include "compressed-music-iterator.hh"
11 #include "compressed-music.hh"
12 #include "musical-request.hh"
13 #include "translator-group.hh"
14 #include "command-request.hh"
15
16
17
18 void
19 Compressed_music_iterator::do_process_and_next (Moment m)
20 {
21   if (first_b_)
22     {
23       bool success = report_to_l ()->try_music (dynamic_cast<Compressed_music const*> (music_l_));
24       if (!success)
25         music_l_->warning ( _("No one to print a tuplet start bracket"));
26     }
27
28   Music_wrapper_iterator::do_process_and_next (m);
29 }