summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2021-01-01 18:19:12 +0100
committerAkim Demaille <akim.demaille@gmail.com>2021-01-02 07:36:35 +0100
commit5a4e6062751043e43e260961336d8dafb83ae63e (patch)
treea16bc180a75d7e9b48408f225a6e6618a640a803 /TODO
parent83f2eb3737b8037c79796dcb1648818d50897fc8 (diff)
downloadbison-5a4e6062751043e43e260961336d8dafb83ae63e.tar.gz
glr.c: example: several improvements
* examples/c/glr/c++-types.y (node_print): New. Use YY_LOCATION_PRINT instead of duplicating it. And actually use it in the action instead of badly duplicating it. (main): Add proper option support. * examples/c/glr/c++-types.test: Adjust expectations on locations. * examples/c++/glr/c++-types.yy: Fix bad iteration.
Diffstat (limited to 'TODO')
-rw-r--r--TODO4
1 files changed, 4 insertions, 0 deletions
diff --git a/TODO b/TODO
index 1b3e008f..33501acf 100644
--- a/TODO
+++ b/TODO
@@ -1,4 +1,8 @@
* Soon
+** 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.