mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 23:33:03 +00:00
* src/symtab.h, src/symtab.c: line' is a new member of bucket'.
* src/reader.c (record_rule_lines, rline, rline_allocated): Remove. * src/output.c: Adjust.
This commit is contained in:
@@ -55,7 +55,9 @@
|
||||
RULE_TABLE[R].precsym -- the symbol-number of the symbol in %prec
|
||||
for R (if any).
|
||||
|
||||
RULE_TABLE[R].assoc -- the associativity of the rule.
|
||||
RULE_TABLE[R].assoc -- the associativity of R.
|
||||
|
||||
RULE_TABLE[R].line -- the line where R was defined.
|
||||
|
||||
The right hand side is stored as symbol numbers in a portion of
|
||||
RITEM.
|
||||
@@ -97,7 +99,6 @@ extern short *ritem;
|
||||
|
||||
extern short *sprec;
|
||||
extern short *sassoc;
|
||||
extern short *rline; /* Source line number of each rule */
|
||||
|
||||
extern int start_symbol;
|
||||
|
||||
@@ -117,6 +118,7 @@ typedef struct rule_s
|
||||
short prec;
|
||||
short precsym;
|
||||
short assoc;
|
||||
short line;
|
||||
} rule_t;
|
||||
|
||||
extern struct rule_s *rule_table;
|
||||
|
||||
Reference in New Issue
Block a user