diff options
author | Theophile Ranquet <ranquet@lrde.epita.fr> | 2013-01-15 17:54:44 +0100 |
---|---|---|
committer | Theophile Ranquet <ranquet@lrde.epita.fr> | 2013-01-21 15:54:04 +0100 |
commit | 492dacbc342b4b7435bed2eac9ea99909e0b0aea (patch) | |
tree | 11ad3957916733c052d704809215023472288e1f /.gitignore | |
parent | 733fb7c593486846eca5a60d1e3ff6880ce358d7 (diff) | |
download | bison-492dacbc342b4b7435bed2eac9ea99909e0b0aea.tar.gz |
bench: compatibility for Bison <= 2.7
There used to be a bug in some skeletons, which caused the expansion of
'yylval' and 'yylloc', generating these errors:
input.cc:547:16: error: expected ',' or '...' before '(' token
#define yylval (yystackp->yyval)
^
input.yy:29:39: note: in expansion of macro 'yylval'
int yylex (yy::parser::semantic_type *yylval)
^
This bug is fixed by 'skel: better aliasing of identifiers', but a workaround
is useful when benchmarking against older versions of Bison, which are still
affected by the bug.
* etc/bench.pl.in: Rename yylval to yylvalp and yylloc to yyllocp in base
grammar 'list'.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions