mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 23:33:03 +00:00
* doc/bison.texinfo (Bison Options): Add entry for --print-datadir.
(Option Cross Key): Likewise. * src/print-xml.c (print_core): Don't print a reduction's lookahead set next to an item whose dot is not at the end of the RHS even if it happens to be associated with the same rule. * src/print.c (print_core): Likewise. * tests/conflicts.at (Unresolved SR Conflicts): Update output. (Resolved SR Conflicts): Update output. * tests/regression.at (Extra lookahead sets in report): New test case.
This commit is contained in:
@@ -110,7 +110,8 @@ print_core (FILE *out, state *s)
|
||||
fprintf (out, " %s", symbols[*sp]->tag);
|
||||
|
||||
/* Display the lookahead tokens? */
|
||||
if (report_flag & report_lookahead_tokens)
|
||||
if (report_flag & report_lookahead_tokens
|
||||
&& item_number_is_rule_number (*sp1))
|
||||
state_rule_lookahead_tokens_print (s, &rules[r], out);
|
||||
|
||||
fputc ('\n', out);
|
||||
|
||||
Reference in New Issue
Block a user