]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.1.1
authorfred <fred>
Sun, 24 Mar 2002 19:50:17 +0000 (19:50 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:50:17 +0000 (19:50 +0000)
lily/command-request.cc
lily/input-translator.cc
lily/molecule.cc

index 0d44ccbd351e657f09c53a0dafe0259183282ee3..cf5ef632f8533752febb5df770dbe84127754480 100644 (file)
@@ -186,9 +186,11 @@ Key_change_req::squash_octaves()
 void
 Key_change_req::do_print() const
 {
+#ifndef NPRINT
     for (int i=0; i < melodic_p_arr_.size(); i++) {
        melodic_p_arr_[i]->print();
     }
+#endif
 }
 
 Key_change_req::Key_change_req()
index 748f516bd5212c26980071cec30047916c6ee610..47e93160fb3dbc4b012f6cdd78081fb507ff4c74 100644 (file)
@@ -27,6 +27,8 @@ void
 Input_translator::print() const
 {
 #ifndef NPRINT
+    if ( ! check_debug)
+       return ;
     mtor << base_str_ <<" " << type_str_<<" {\n";
     mtor << "Consists of ";
     for (int i=0; i< consists_str_arr_.size(); i++)
index 2c946484c8657eb2279f7ef623025d7e7ebe7f21..ee4fe5e48527549fa91dd0e7db647b34087fd03a 100644 (file)
@@ -129,8 +129,12 @@ Molecule::Molecule(Molecule const &s)
 void
 Molecule::print() const
 {
+#ifndef NPRINT
+    if (! check_debug)
+       return;
     for (iter_top(ats,c); c.ok(); c++)
        c->print();
+#endif
 }
 
 void