]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.1.1
authorfred <fred>
Sun, 24 Mar 2002 19:50:18 +0000 (19:50 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:50:18 +0000 (19:50 +0000)
lily/lookup.cc
lily/music.cc

index 9a0c8c709356c37c91c18d5b734508d2086128b5..6bc298e14798138be4ee70d69fe3eb43c24de6a1 100644 (file)
@@ -47,9 +47,11 @@ Lookup::add(String s, Symtable*p)
 void
 Lookup::print()const
 {
+    #ifndef NPRINT
     mtor << "Lookup: " << texsetting << " {\n";
     symtables_->print();
     mtor << "}\n";
+    #endif
 }
 
 Symbol
index 4949e2737b4557e13504b63c05546ba3e8e47574..7bc52fcd425b15008c30dd680e5bb96bf71f3bab 100644 (file)
@@ -21,6 +21,8 @@ void
 Music::print()const
 {
 #ifndef NPRINT
+    if ( ! check_debug)
+       return ;
     mtor << name() << "{";
     if  (type_str_!="" || id_str_!="")
        mtor << "`" <<type_str_ << " = " << id_str_<<"\'";