/*
- Copyright (C) 2008-2012 Free Software Foundation, Inc.
+ Copyright (C) 2008-2013 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
%debug
%skeleton "lalr1.cc"
%defines
+%define api.token.constructor
+%define api.value.type variant
%define parse.assert
-%define variant
-%define lex_symbol
%locations
%code requires // *.hh
%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;