doc: glr: document typed mergers

See <https://lists.gnu.org/r/help-bison/2020-12/msg00016.html>.

* doc/bison.texi (Merging GLR Parses): document typed mergers.
And avoid #define YYSTYPE.
This commit is contained in:
Akim Demaille
2021-08-04 09:06:56 +02:00
parent cb7bdc251d
commit 413d318940
2 changed files with 44 additions and 11 deletions

9
TODO
View File

@@ -28,15 +28,6 @@ the out-of-range new values, we need something like doubling the size.
** glr
There is no test with "Parse on stack %ld rejected by rule %d" in it.
** %merge
Tests with typed %merge: 716 717 718 740 741 742 746 747 748
716: Duplicate representation of merged trees: glr.c FAILED (glr-regression.at:517)
740: Leaked semantic values if user action cuts parse: glr.c FAILED (glr-regression.at:1230)
746: Incorrect lookahead during nondeterministic GLR: glr.c FAILED (glr-regression.at:1610)
Document typed merges.
** yyrline etc.
Clarify that rule numbers in the skeletons are 1-based.