blob: 73c4079e70c48fd5729746c24eb1acba2ad76772 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/*
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*> {
String fname;
bool done_reading;
Symtables(String s) : fname (s) {
done_reading = false;
}
void read() ;
Symtable* operator()(String s);
};
#endif
|