mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-16 15:53:03 +00:00
We spend a lot of time in quotearg, in particular when --verbose.
* src/symtab.c (symbol_get): Store a quoted version of the key. (symbol_tag_get, symbol_tag_get_n, symbol_tag_print): Remove. Adjust all callers.
This commit is contained in:
@@ -427,7 +427,7 @@ lookaheads_print (FILE *out)
|
||||
BITSET_EXECUTE (states[i]->lookaheads[j], 0, k,
|
||||
{
|
||||
fprintf (out, " on %d (%s) -> rule %d\n",
|
||||
k, symbol_tag_get (symbols[k]),
|
||||
k, symbols[k]->tag,
|
||||
states[i]->lookaheads_rule[j]->number - 1);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user