mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 14:23:04 +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:
@@ -1570,8 +1570,6 @@ packsymbols (void)
|
||||
user_toknums = XCALLOC (short, nsyms + 1);
|
||||
symbols = XCALLOC (bucket *, nsyms);
|
||||
|
||||
sassoc = XCALLOC (short, nsyms);
|
||||
|
||||
max_user_token_number = 256;
|
||||
last_user_token_number = 256;
|
||||
|
||||
@@ -1643,7 +1641,6 @@ packsymbols (void)
|
||||
|
||||
symbols[bp->value] = bp;
|
||||
user_toknums[bp->value] = bp->user_token_number;
|
||||
sassoc[bp->value] = bp->assoc;
|
||||
}
|
||||
|
||||
token_translations_init ();
|
||||
|
||||
Reference in New Issue
Block a user