Pristine Ack-5.5
[Ack-5.5.git] / util / topgen / symtab.h
1 /* $Id: symtab.h,v 1.4 1994/06/24 10:42:28 ceriel Exp $ */
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
17 extern struct symtab *idtable,          /* table for variables */
18                      *deftable;         /* table for tunable defines */
19 struct symtab *findident();
20
21 /* Options to "findident" */
22 #define LOOKING         1
23 #define ENTERING        0