ack/util/topgen/symtab.h
1987-03-10 11:58:22 +00:00

24 lines
622 B
C

/* $Header$ */
/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
/* 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