* examples/variant.yy: Don't use debug_stream(), obsoleted.
Use <*>.
---
examples/variant.yy | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/examples/variant.yy b/examples/variant.yy
index 33db351..eef2080 100644
--- a/examples/variant.yy
+++ b/examples/variant.yy
@@ -70,8 +70,7 @@ typedef std::list<std::string> strings_type;
%token <::std::string> TEXT;
%token <int> NUMBER;
-%printer { debug_stream () << $$; }
- <int> <::std::string> <::std::list<std::string>>;
+%printer { yyoutput << $$; } <*>;
%token END_OF_FILE 0;
%type <::std::string> item;
--
1.8.0.2