Hi,
I was debugging a GLR C parser and noticed that, while for the
deterministic LR parser the used rules come with line numbers, this is
not true in non-deterministic mode.
$ diff glr2.c bison-3.4.2/data/skeletons/glr.c
1464c1464
< "Reduced stack %lu by rule #%d (line %lu); action
deferred. "
---
> "Reduced stack %lu by rule #%d; action deferred. "
1466c1466
< (unsigned long) yyk, yyrule - 1, (unsigned long)
yyrline[yyrule], yynewLRState));
---
> (unsigned long) yyk, yyrule - 1, yynewLRState));
This is such a small change but might help others to debug their parsers.