source file of the GNU LilyPond music typesetter
- (c) 1997--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
+#include <stdio.h>
-#include "debug.hh"
+#include "warn.hh"
#include "music.hh"
#include "request.hh"
#include "music-list.hh"
}
int
-Global_translator::moments_left_i () const
+Global_translator::get_moments_left () const
{
return extra_mom_pq_.size ();
}
Music_output*
-Global_translator::get_output_p ()
+Global_translator::get_output ()
{
return 0;
}
if (iter-> ok ())
prev_mom_ = now_mom_ = iter->pending_moment ();
-
bool first = true;
- while (iter->ok () || moments_left_i ())
+ while (iter->ok () || get_moments_left ())
{
Moment w;
w.set_infinite (1);
}
w = sneaky_insert_extra_moment (w);
+
+ // printf ("proccing %s\n ", w.string ().to_str0 ());
- // cout << "Proccing " << w << endl;
if (first)
{
first = false;
- set_property (ly_symbol2scm ("measurePosition"), w.smobbed_copy ());
+ set_property ("measurePosition", w.smobbed_copy ());
}
prepare (w);