]> git.saurik.com Git - bison.git/commitdiff
Workaround for SGI C++ compiler.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 29 May 2004 07:16:29 +0000 (07:16 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 29 May 2004 07:16:29 +0000 (07:16 +0000)
ChangeLog
tests/actions.at
tests/calc.at

index f29be8b4af3cdb5c99778c53ffbfe06f49bb5c49..6ff584f11ae3d618c888fdad9acc68fe04d86e1f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index d97e9164ce507d29660759021c97f08bc81f2e35..87126e8893dc5b8cbf17a76ded39ab90998655fb 100644 (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 ();
 }
 ],
index b2f8578348c241a4deeaa526e3120b21280ed974..7da261786cf04133200237d4acd2146ef2641546 100644 (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 ();
 }
 ],