82 |
says which rule it is for. |
says which rule it is for. |
83 |
|
|
84 |
The portions of RITEM come in order of increasing rule number and |
The portions of RITEM come in order of increasing rule number and |
85 |
are followed by an element which is zero to mark the end. nitems |
are followed by an element which is zero to mark the end. nritems |
86 |
is the total length of ritem, not counting the final zero. Each |
is the total length of ritem, not counting the final zero. Each |
87 |
element of RITEM is called an "item" and its index in RITEM is an |
element of RITEM is called an "item" and its index in RITEM is an |
88 |
item number. |
item number. |
104 |
#define ISTOKEN(s) ((s) < ntokens) |
#define ISTOKEN(s) ((s) < ntokens) |
105 |
#define ISVAR(s) ((s) >= ntokens) |
#define ISVAR(s) ((s) >= ntokens) |
106 |
|
|
|
extern int nitems; |
|
107 |
extern int nrules; |
extern int nrules; |
108 |
extern int nsyms; |
extern int nsyms; |
109 |
extern int ntokens; |
extern int ntokens; |