mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 16:53:02 +00:00
* src/gram.c, src/gram.h (sprec, sassoc): Remove.
Adjust all users to use symbols[i]->prec or ->assoc.
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
Item numbers are used in the finite state machine to represent
|
||||
places that parsing can get to.
|
||||
|
||||
SPREC records the precedence level of each symbol.
|
||||
SYMBOLS[I]->PREC records the precedence level of each symbol.
|
||||
|
||||
Precedence levels are assigned in increasing order starting with 1
|
||||
so that numerically higher precedence values mean tighter binding
|
||||
@@ -100,9 +100,6 @@ extern int nvars;
|
||||
extern short *ritem;
|
||||
extern int nritems;
|
||||
|
||||
extern short *sprec;
|
||||
extern short *sassoc;
|
||||
|
||||
extern int start_symbol;
|
||||
|
||||
/* associativity values in elements of rassoc, sassoc. */
|
||||
|
||||
Reference in New Issue
Block a user