summaryrefslogtreecommitdiffstats
path: root/symbol-table.h
blob: 9a54318e6691a20e6ef709d9792dd9a6ff8eb7a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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);