mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-10-18 05:33:26 +00:00
glr.c: example: use a printer
* examples/c++/glr/c++-types.yy: Here.
This commit is contained in:
1 parent
ab1208e263
commit
c1884d3002
1 file changed
+2
@@ -60,6 +60,8 @@
|
||||
TYPENAME "typename"
|
||||
ID "identifier"
|
||||
|
||||
%printer { yyo << $$; } TYPENAME ID stmt expr decl declarator
|
||||
|
||||
%right '='
|
||||
%left '+'
|
||||
|
||||
|
||||
Reference in new issue
Block a user