doc: printing locations

Document YYLOCATION_PRINT.

* doc/bison.texi (Printing Locations): New node.
This commit is contained in:
Akim Demaille
2021-02-02 07:28:22 +01:00
parent f50fff58d1
commit 2d1d2f87f9
3 changed files with 63 additions and 20 deletions

4
TODO
View File

@@ -21,10 +21,6 @@ The current approach is correct, but with poor performances. Bitsets need
to support 'assign' and 'shift'. And instead of extending POS_SET just for
the out-of-range new values, we need something like doubling the size.
** YY_LOCATION_PRINT
This is an internal detail. But it's very handy, we should make it public.
It already has leaked in the documentation by accident.
** glr
There is no test with "Parse on stack %ld rejected by rule %d" in it.