74 |
extern unsigned *LA; |
extern unsigned *LA; |
75 |
|
|
76 |
|
|
77 |
|
/* A structure decorating a state, with additional information. */ |
78 |
|
typedef struct state_s |
79 |
|
{ |
80 |
|
/* A state. */ |
81 |
|
core *state; |
82 |
|
|
83 |
|
/* Its accessing symbol. */ |
84 |
|
short accessing_symbol; |
85 |
|
} state_t; |
86 |
|
|
87 |
|
/* All the decorated states, indexed by the state number. Warning: |
88 |
|
there is a state_TABLE in LR0.c, but it is different and static. |
89 |
|
*/ |
90 |
|
extern state_t *state_table; |
91 |
|
|
92 |
extern int tokensetsize; |
extern int tokensetsize; |
93 |
extern short *lookaheads; |
extern short *lookaheads; |
|
extern short *accessing_symbol; |
|
|
extern core **state_table; |
|
94 |
extern shifts **shift_table; |
extern shifts **shift_table; |
95 |
extern reductions **reduction_table; |
extern reductions **reduction_table; |
96 |
|
|