ack/util/topgen/symtab.h

19 lines
443 B
C
Raw Normal View History

1986-11-24 20:42:13 +00:00
/* s y m t a b . h
*
* Contains a structure declaration for a symbol table that is a
* binary tree
*/
struct symtab {
char *s_name; /* The name of the symbol */
int s_num; /* it's number */
struct symtab *s_left, *s_right;
};
extern struct symtab *idtable, /* table for variables */
*deftable; /* table for tunable defines */
struct symtab *findident();
/* Options to "findident" */
#define LOOKING 1
#define ENTERING 0