Advertisement
Guest User

Untitled

a guest
Apr 12th, 2013
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. /**********************************************
  2. CS415 Compilers Project2
  3. **********************************************/
  4.  
  5. #ifndef SYMTAB_H
  6. #define SYMTAB_H
  7. #include "stack.c"
  8. struct Variable{
  9. char *id;
  10. char *type;
  11. char *level;
  12. };
  13. typedef struct Variable vNode;
  14. vNode *VarCreate(char *id, char *type, char *level);
  15. void STInsert(sPtr s, vNode *var);
  16. vNode *STLookup(sPtr s, vNode *var);
  17. void STDelete(sPtr s, char *level);
  18. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement