X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fsystem.cc;h=c20f244890244432b9cdc7dad45e30072e454154;hb=3c6e2cd4a550aacc3b64e0b38882c469850e073d;hp=8a071cce90c9d89e6f88816eba4cfc43867ed0f1;hpb=bb8a0a5387af94dd2702877256334b160575a730;p=lilypond.git diff --git a/lily/system.cc b/lily/system.cc index 8a071cce90..c20f244890 100644 --- a/lily/system.cc +++ b/lily/system.cc @@ -38,6 +38,7 @@ #include "staff-symbol-referencer.hh" #include "text-interface.hh" #include "warn.hh" +#include "unpure-pure-container.hh" System::System (System const &src) : Spanner (src) @@ -197,8 +198,7 @@ System::do_break_substitution_and_fixup_refpoints () } } - if (be_verbose_global) - message (_f ("Element count %d", count + element_count ()) + "\n"); + debug_output (_f ("Element count %d", count + element_count ()) + "\n"); } SCM @@ -216,16 +216,14 @@ System::get_paper_systems () SCM lines = scm_c_make_vector (broken_intos_.size (), SCM_EOL); for (vsize i = 0; i < broken_intos_.size (); i++) { - if (be_verbose_global) - progress_indication ("["); + debug_output ("[", false); System *system = dynamic_cast (broken_intos_[i]); scm_vector_set_x (lines, scm_from_int (i), system->get_paper_system ()); - if (be_verbose_global) - progress_indication (to_string (i) + "]"); + debug_output (to_string (i) + "]", false); } return lines; } @@ -398,8 +396,7 @@ System::pre_processing () for (vsize i = 0; i < all_elements_->size (); i++) all_elements_->grob (i)->discretionary_processing (); - if (be_verbose_global) - message (_f ("Grob count %d", element_count ())); + debug_output (_f ("Grob count %d", element_count ())); /* order is significant: broken grobs are added to the end of the