source file of the GNU LilyPond music typesetter
- (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
+
+/*
+ UGH. too many includes.
+ */
#include "debug.hh"
#include "music-list.hh"
#include "music-iterator.hh"
#include "lyric-combine-music-iterator.hh"
#include "auto-change-music.hh"
#include "auto-change-iterator.hh"
+#include "request.hh"
+#include "request-iterator.hh"
+#include "output-property.hh"
void
Music_iterator::do_print() const
Music_iterator::print() const
{
#ifndef NPRINT
- if (!check_debug)
+ if (!flower_dstream)
return ;
- DOUT << classname(this) << "{";
+ DEBUG_OUT << classname(this) << "{";
Translator_group *t = report_to_l();
- DOUT << "report to " << t->type_str_ << " = " << t->id_str_ << "\n";
+ DEBUG_OUT << "report to " << t->type_str_ << " = " << t->id_str_ << "\n";
if (ok())
- DOUT << "next at " << next_moment() << " ";
+ DEBUG_OUT << "next at " << next_moment() << " ";
else
- DOUT << "not feeling well today..";
+ DEBUG_OUT << "not feeling well today..";
do_print();
- DOUT << "}\n";
+ DEBUG_OUT << "}\n";
#endif
}
p = new Unfolded_repeat_iterator;
}
else
- assert (0);
-
+ {
+ p = new Simple_music_iterator ;
+ }
p->music_l_ = m;
return p;