* src/gram.c, src/gram.h (sprec, sassoc): Remove.

Adjust all users to use symbols[i]->prec or ->assoc.
This commit is contained in:
Akim Demaille
2001-12-29 14:19:13 +00:00
parent ad949da96b
commit 5a670b1ed9
5 changed files with 9 additions and 11 deletions

View File

@@ -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. */