]> git.saurik.com Git - bison.git/commit - tests/calc.at
Alexandre Duret-Lutz <adl@gnu.org>
authorAkim Demaille <akim@epita.fr>
Fri, 30 Sep 2005 17:57:05 +0000 (17:57 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 30 Sep 2005 17:57:05 +0000 (17:57 +0000)
commitfb9712a96207a21a6c442bbee9c20324c40e6727
treedf4c491d8d3042e3597cca067fa1e89753d321bd
parent55f0c7b1f26afabb7f356343f2650626e09fce51
Alexandre Duret-Lutz <adl@gnu.org>
Move the token type and YYSTYPE in the parser class.
* data/lalr1.cc (stack.hh, location.hh): Include earlier.
(parser::token): New, from the moved free definition of tokens.
(parser::semantic_value): Now a full definition instead of an
indirection to YYSTYPE.
(b4_post_prologue): No longer included in the header file, but
in the implementation file.
* doc/bison.texi (C+ Language Interface): Update.
* src/parse-gram.y: Support unary %define.
* tests/actions.at: Define global_tokens_and_yystype for backward
compatibility until we update the tests.
* tests/calc.at: Idem.
(first_line, first_column, last_line, last_column): Define for lalr1.cc
to simplify the code.
ChangeLog
NEWS
data/lalr1.cc
doc/bison.texinfo
examples/extexi
src/parse-gram.c
src/parse-gram.h
src/parse-gram.y
tests/actions.at
tests/calc.at