home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 22 gnu
/
22-gnu.zip
/
BYACC.ZIP
/
RCS
/
SYMTAB.H_V
< prev
next >
Wrap
Text File
|
1992-06-10
|
863b
|
61 lines
head 1.1;
access;
symbols;
locks; strict;
comment @ * @;
1.1
date 92.06.10.21.55.08; author downey; state Exp;
branches;
next ;
desc
@@
1.1
log
@Initial revision
@
text
@#ifndef SYMTAB
#define SYMTAB
#define UNKNOWN 0
#define TERMINAL 1
#define NONTERMINAL 2
/* WARNING: In addition to its internal use, UNDEFINED is also the default */
/* value of the error token. */
#define UNDEFINED (-1)
typedef
struct bucket
{
struct bucket *left;
struct bucket *right;
struct bucket *next;
int length;
char *key;
char *tag;
char *prname;
short index;
short value;
short prec;
char form;
char class;
char assoc;
char used;
}
bucket;
extern bucket *first_symbol;
extern bucket *lookup();
extern bucket *make_bucket();
extern char *mk_prname();
#endif
@