mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
glr.c: example: use a printer
* examples/c++/glr/c++-types.yy: Here.
This commit is contained in:
@@ -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