]> git.saurik.com Git - bison.git/blobdiff - examples/variant.yy
Moving push traces into yypush_.
[bison.git] / examples / variant.yy
index be43c60d0e592e23b1c3ddd6dd2bcf4a874c14be..cba6d08c5c1dfcd4b327afcef9b001fd471b3f8b 100644 (file)
@@ -58,7 +58,7 @@ typedef std::list<std::string> strings_type;
 %%
 
 result:
-  list          { std::cout << $1 << std::endl; }
+  list { std::cout << $1 << std::endl; }
 ;
 
 list: