55 |
RULE_TABLE[R].precsym -- the symbol-number of the symbol in %prec |
RULE_TABLE[R].precsym -- the symbol-number of the symbol in %prec |
56 |
for R (if any). |
for R (if any). |
57 |
|
|
58 |
RULE_TABLE[R].assoc -- the associativity of the rule. |
RULE_TABLE[R].assoc -- the associativity of R. |
59 |
|
|
60 |
|
RULE_TABLE[R].line -- the line where R was defined. |
61 |
|
|
62 |
The right hand side is stored as symbol numbers in a portion of |
The right hand side is stored as symbol numbers in a portion of |
63 |
RITEM. |
RITEM. |
99 |
|
|
100 |
extern short *sprec; |
extern short *sprec; |
101 |
extern short *sassoc; |
extern short *sassoc; |
|
extern short *rline; /* Source line number of each rule */ |
|
102 |
|
|
103 |
extern int start_symbol; |
extern int start_symbol; |
104 |
|
|
118 |
short prec; |
short prec; |
119 |
short precsym; |
short precsym; |
120 |
short assoc; |
short assoc; |
121 |
|
short line; |
122 |
} rule_t; |
} rule_t; |
123 |
|
|
124 |
extern struct rule_s *rule_table; |
extern struct rule_s *rule_table; |