]> git.saurik.com Git - bison.git/commitdiff
Pacify Sun ONE Studio 7 lint. Also, rename "ParseError"
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 18 Nov 2002 20:08:57 +0000 (20:08 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 18 Nov 2002 20:08:57 +0000 (20:08 +0000)
to "SyntaxError" for consistency with my 2002-11-15 change.

ChangeLog

index 3ed7158470e1816c26966d5520f07753c5c32b8f..df4d79cf8552d53857ed10c5302ee3d79ff9950e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,25 @@
        space.
        From Tim Van Holder.
 
+2002-11-17  Paul Eggert  <eggert@twinsun.com>
+
+       Pacify Sun ONE Studio 7 lint.  Also, rename "ParseError"
+       to "SyntaxError" for consistency with my 2002-11-15 change.
+
+       * data/glr.c (YYDPRINTF, YYDSYMPRINT, YYDSYMPRINTF) [!YYDEBUG]: Do
+       not define to {}, since this breaks the common use of `YYDPRINTF
+       ((...));' if a single statement is desired (e.g. before `else').
+       Work around GCC warnings by surrounding corresponding calls with
+       {} if needed.
+       (yyhasResolvedValue): Remove unused function.
+       (yymergeOptionSets, yyresolvStack): Use `continue;' for empty
+       loop body.
+       (yyreportSyntaxError): Renamed from yyreportParseError.
+       (yyrecoverSyntaxError): Renamed from yyrecoverParseError.
+       All uses changed.
+       * tests/calc.at (_AT_DATA_CALC_Y): Make vars static instead of
+       extern when possible.  Remove unused initializations.
+
 2002-11-16  Akim Demaille  <akim@epita.fr>
 
        Augment the similarity between GLR and LALR traces.