Workaround for SGI C++ compiler.

This commit is contained in:
Paul Eggert
2004-05-29 07:16:29 +00:00
parent fd418816b9
commit 2905865228
3 changed files with 7 additions and 2 deletions

View File

@@ -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>
Spent a few hours checking out which prerequisite versions the

View File

@@ -476,7 +476,7 @@ static bool yydebug;
int
yyparse ()
{
yy::Parser parser (yydebug, yy::Location::Location ());
yy::Parser parser (yydebug, yy::Location ());
return parser.parse ();
}
],

View File

@@ -144,7 +144,7 @@ yy::Parser::error_ ()
int
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 ();
}
],