glr.c: example: use a printer

* examples/c++/glr/c++-types.yy: Here.
This commit is contained in:
Akim Demaille committed 2021-01-03 08:14:22 +01:00
1 parent ab1208e263
commit c1884d3002
1 file changed
+2
+2
View File
@@ -60,6 +60,8 @@
TYPENAME "typename"
ID "identifier"
%printer { yyo << $$; } TYPENAME ID stmt expr decl declarator
%right '='
%left '+'