summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/c++/glr/c++-types.yy2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/c++/glr/c++-types.yy b/examples/c++/glr/c++-types.yy
index 266bd100..8399b4f9 100644
--- a/examples/c++/glr/c++-types.yy
+++ b/examples/c++/glr/c++-types.yy
@@ -60,6 +60,8 @@
TYPENAME "typename"
ID "identifier"
+%printer { yyo << $$; } TYPENAME ID stmt expr decl declarator
+
%right '='
%left '+'