From 304b384ea31ea26e35ea8a9dd2959cf50037256b Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Wed, 26 Dec 2012 08:12:38 +0100 Subject: [PATCH] examples: minor improvements * 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 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; -- 2.45.2