]> git.donarmstrong.com Git - lilypond.git/blobdiff - src/lookup.cc
release: 0.0.38
[lilypond.git] / src / lookup.cc
index a87454e2d15ad10c60e9fa4c06d6d9598e12bee0..ffd668e75d33e72e80f676ebd497bdb35313da24 100644 (file)
@@ -1,3 +1,11 @@
+/*
+  lookup.cc -- implement simple Lookup methods.
+
+  source file of the LilyPond music typesetter
+
+  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+*/
+
 #include "lookup.hh"
 #include "debug.hh"
 #include "symtable.hh"
@@ -27,6 +35,14 @@ Lookup::add(String s, Symtable*p)
     symtables_->add(s, p);
 }
 
+void
+Lookup::print()const
+{
+    mtor << "Lookup: " << texsetting << " {\n";
+    symtables_->print();
+    mtor << "}\n";
+}
+
 Symbol
 Lookup::text(String style, String text, int dir)
 {
@@ -42,7 +58,6 @@ Lookup::text(String style, String text, int dir)
     return s;
 }
 
-/* *************** */
 
 Real
 Lookup::internote()