lilypond-0.0.5
[lilypond.git] / symtable.hh
blob73c4079e70c48fd5729746c24eb1acba2ad76772
1 /*
2 lilypond, (c) 1996 Han-Wen Nienhuys
3 */
4 #ifndef SYMTABLE_HH
5 #define SYMTABLE_HH
6 #include "assoc.hh"
7 #include "string.hh"
8 #include "symbol.hh"
10 struct Symtable : public Assoc<String, Symbol> {
11 Symbol lookup(String)const;
15 struct Symtables : private Assoc<String, Symtable*> {
16 String fname;
17 bool done_reading;
18 Symtables(String s) : fname (s) {
19 done_reading = false;
21 void read() ;
22 Symtable* operator()(String s);
27 #endif