Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**********************************************
- CS415 Compilers Project2
- **********************************************/
- #ifndef SYMTAB_H
- #define SYMTAB_H
- #include "stack.c"
- struct Variable{
- char *id;
- char *type;
- char *level;
- };
- typedef struct Variable vNode;
- vNode *VarCreate(char *id, char *type, char *level);
- void STInsert(sPtr s, vNode *var);
- vNode *STLookup(sPtr s, vNode *var);
- void STDelete(sPtr s, char *level);
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement