mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-23 19:23:02 +00:00
Workaround for SGI C++ compiler.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2004-05-28 Albert Chin-A-Young <china@thewrittenword.com>
|
||||||
|
|
||||||
|
* tests/calc.at, tests/actions.at: Workaround for SGI
|
||||||
|
C++ compiler. (trivial change)
|
||||||
|
|
||||||
2004-05-27 Paul Eggert <eggert@cs.ucla.edu>
|
2004-05-27 Paul Eggert <eggert@cs.ucla.edu>
|
||||||
|
|
||||||
Spent a few hours checking out which prerequisite versions the
|
Spent a few hours checking out which prerequisite versions the
|
||||||
|
|||||||
@@ -476,7 +476,7 @@ static bool yydebug;
|
|||||||
int
|
int
|
||||||
yyparse ()
|
yyparse ()
|
||||||
{
|
{
|
||||||
yy::Parser parser (yydebug, yy::Location::Location ());
|
yy::Parser parser (yydebug, yy::Location ());
|
||||||
return parser.parse ();
|
return parser.parse ();
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ yy::Parser::error_ ()
|
|||||||
int
|
int
|
||||||
yyparse (AT_PARAM_IF([semantic_value *result, int *count]))
|
yyparse (AT_PARAM_IF([semantic_value *result, int *count]))
|
||||||
{
|
{
|
||||||
yy::Parser parser (!!YYDEBUG[]AT_LOCATION_IF([, yy::Location::Location ()])AT_PARAM_IF([, result, count]));
|
yy::Parser parser (!!YYDEBUG[]AT_LOCATION_IF([, yy::Location ()])AT_PARAM_IF([, result, count]));
|
||||||
return parser.parse ();
|
return parser.parse ();
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user