ack/util/topgen/symtab.h
1994-06-24 11:31:16 +00:00

24 lines
618 B
C

/* $Id$ */
/*
* (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