summaryrefslogtreecommitdiffstats
path: root/symbol-table.h
blob: 774b46c8873082f8db86b3890e1478dae20b4a7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
struct symtab {
    char lexeme[256];
    struct symtab *front;
    struct symtab *back;
    int line;
    int counter;
};

typedef struct symtab symtab;
symtab* lookup(char *name);
void insertID(char *name);
void printSymTab(void);
symtab **fillTab(int *len);

// vim: set sw=4 ts=4 sts=4 et: