symtab.h 618 B

1234567891011121314151617181920212223
  1. /* $Id$ */
  2. /*
  3. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  4. * See the copyright notice in the ACK home directory, in the file "Copyright".
  5. */
  6. /* s y m t a b . h
  7. *
  8. * Contains a structure declaration for a symbol table that is a
  9. * binary tree
  10. */
  11. struct symtab {
  12. char *s_name; /* The name of the symbol */
  13. int s_num; /* it's number */
  14. struct symtab *s_left, *s_right;
  15. };
  16. extern struct symtab *idtable, /* table for variables */
  17. *deftable; /* table for tunable defines */
  18. struct symtab *findident();
  19. /* Options to "findident" */
  20. #define LOOKING 1
  21. #define ENTERING 0