glr.c: fix line numbers in logs

* data/skeletons/glr.c (yyglrReduce): Fix line numbers.
* tests/glr-regression.at: Fix expectations.
This commit is contained in:
Akim Demaille
2020-12-06 13:38:03 +01:00
parent 8ab625e517
commit d4188398f1
3 changed files with 9 additions and 3 deletions

6
TODO
View File

@@ -1,4 +1,10 @@
* Soon
** glr
There is no test with "Parse on stack %ld rejected by rule %d" in it.
** yyrline etc.
Clarify that rule numbers in the skeletons are 1-based.
** Macros in C++
There are many macros that should obey api.prefix: YY_CPLUSPLUS, YY_MOVE,
etc.