summaryrefslogtreecommitdiff
path: root/symtable.hh
blob: f390e285e01b26da27d608e1c896f944631ab99a (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
struct  Symtable : public Assoc<String, Symbol> {
    const 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);

};