]> git.saurik.com Git - bison.git/blobdiff - ChangeLog
(symbol_user_token_number_set, symbol_make_alias, symbol_pack):
[bison.git] / ChangeLog
index 375a990d65f7c9e5896b373edd6309db6e0ba12f..422caf3900038389a4ed9b821bc512aee15a9ce7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,48 @@
+2002-11-18  Paul Eggert  <eggert@twinsun.com>
+
+       * data/glr.c (yygetLRActions): Replace `yyindex' with
+       `yytable[yyindex]' to fix typo introduced in my 2002-11-09 patch.
+       This fixes the regression with Sun ONE Studio 7 cc that I reported in
+       <http://mail.gnu.org/pipermail/bug-bison/2002-November/001892.html>.
+
+2002-11-18  Akim Demaille  <akim@epita.fr>
+
+       * doc/bison.texinfo (Tracing): `yyprint' shouldn't prepend a
+       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.
+
+       * data/yacc.c (yy_stack_print, YY_STACK_PRINT, yy_reduce_print)
+       (YY_REDUCE_PRINT): New.
+       (yyparse): Use them.
+       * data/glr.c (yy_reduce_print): Use YYFPRINTF, no need for
+       YYDPRINT here.
+       (yyglrReduce, yyrecoverParseError, yyparse): Don't report the
+       state reached after the reduction/recovery, since...
+       (yyparse, yyprocessOneStack): Report the state we are entering in.
+
 2002-11-16  Akim Demaille  <akim@epita.fr>
 
        * src/getargs.h, src/getargs.c (trace_e, trace_args, trace_types):