Subversion Repositories filter_foundry

Rev

Rev 192 | Rev 198 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 192 Rev 194
Line 34... Line 34...
34
typedef value_type (*pfunc_type)(value_type,...);
34
typedef value_type (*pfunc_type)(value_type,...);
35
 
35
 
36
struct sym_rec{
36
struct sym_rec{
37
        struct sym_rec *next;
37
        struct sym_rec *next;
38
        int token;
38
        int token;
39
        char *name;
39
        const char *name;
40
 
40
 
41
        pfunc_type fn;
41
        pfunc_type fn;
42
        value_type *pvar;
42
        value_type *pvar;
43
};
43
};
44
 
44
 
45
unsigned long djb2(char *str);
45
unsigned long djb2(const char *str);
46
struct sym_rec *lookup(char *s);
46
struct sym_rec *lookup(const char *s);
47
void init_symtab(struct sym_rec *);
47
void init_symtab(struct sym_rec *);
48
void insert(struct sym_rec *p);
48
void insert(struct sym_rec *p);
49
void dump_symbols();
49
void dump_symbols();
50
 
50
 
51
#endif
51
#endif