diff --git a/examples/variant.yy b/examples/variant.yy index 33db3512..eef2080d 100644 --- a/examples/variant.yy +++ b/examples/variant.yy @@ -70,8 +70,7 @@ typedef std::list strings_type; %token <::std::string> TEXT; %token NUMBER; -%printer { debug_stream () << $$; } - <::std::string> <::std::list>; +%printer { yyoutput << $$; } <*>; %token END_OF_FILE 0; %type <::std::string> item;