summaryrefslogtreecommitdiff
path: root/hdr/symtable.hh
diff options
context:
space:
mode:
Diffstat (limited to 'hdr/symtable.hh')
-rw-r--r--hdr/symtable.hh23
1 files changed, 23 insertions, 0 deletions
diff --git a/hdr/symtable.hh b/hdr/symtable.hh
new file mode 100644
index 0000000000..a1443a7d3b
--- /dev/null
+++ b/hdr/symtable.hh
@@ -0,0 +1,23 @@
+/*
+ lilypond, (c) 1996 Han-Wen Nienhuys
+*/
+#ifndef SYMTABLE_HH
+#define SYMTABLE_HH
+#include "assoc.hh"
+#include "string.hh"
+#include "symbol.hh"
+
+struct Symtable : public Assoc<String, Symbol> {
+ Symbol lookup(String)const;
+};
+
+
+struct Symtables : private Assoc<String, Symtable*> {
+ void read(Text_db&) ;
+ Symtable* operator()(String s);
+
+};
+
+
+#endif
+