+2005-09-29 Akim <akim@epita.fr>
+
+ * data/c.m4 (b4_error_verbose_if): New.
+ * data/lalr1.cc: Use it.
+ (YYERROR_VERBOSE_IF): Remove.
+ (yyn_, yylen_, yystate_, yynerrs_, yyerrstatus_): Remove as
+ parser members, replaced by...
+ (yyn, yylen, yystate, yynerss, yyerrstatus): these parser::parse
+ local variables.
+ (yysyntax_error_): Takes the state number as argument.
+ (yyreduce_print_): Use the argument yyrule, not the former
+ attribute yyn_.
+
+2005-09-26 Paul Eggert <eggert@cs.ucla.edu>
+
+ * bootstrap (gnulib_modules): Add verify.
+ * lib/.cvsignore: Add verify.h.
+ * src/getargs.c: Use ARGMATCH_VERIFY rather than verify.
+ * src/system.h (verify): Remove.
+ Include verify.h instead.
+ * src/tables.c (tables_generate): Use new API for 'verify'.
+
+2005-09-21 Paul Eggert <eggert@cs.ucla.edu>
+
+ * tests/local.at (_AT_BISON_OPTION_PUSHDEFS): Do not use
+ local variables whose names begin with 'yy'.
+ * tests/calc.at (_AT_DATA_CALC_Y): Likewise.
+ Trivial changes from Joel E. Denny.
+
+ * bootstrap (gnulib_modules): Remove alloca. Bison doesn't need
+ it itself.
+ * src/main.c (main) [C_ALLOCA]: Don't flush alloca'ed memory; we
+ don't use alloca any more.
+
+ * data/yacc.c [YYSTACK_USE_ALLOCA && !defined __GNUC__ && ! defined
+ __BUILTIN_VA_ARG_INCR && ! defined _AIX && ! defined _MSC_VER &&
+ defined _ALLOCA_H]: Don't include <stdlib.h>; not needed in this case.
+ * tests/torture.at (Exploding the Stack Size with Alloca): Adjust
+ to match yacc.c, to test more hosts.
+
+2005-09-20 Paul Eggert <eggert@cs.ucla.edu>
+
+ * data/yacc.c (YYSIZE_T): Reindent to make it clearer. This
+ doesn't affect behavior.
+ (YYSTACK_ALLOC) [YYSTACK_USE_ALLOCA]: Improve support for
+ Solaris, AIX, MSC.
+ (_STDLIB_H): Renamed from YYINCLUDED_STDLIB_H. All uses changed.
+ This works a bit better with glibc, if user code has already included
+ stdlib.h.
+ * doc/bison.texinfo (Bison Parser): Document that users can't
+ arbitrarily use malloc and free for other purposes. Document
+ that <alloca.h> and <malloc.h> might be included.
+ (Table of Symbols): Under YYSTACK_USE_ALLOCA, Don't claim that the
+ user must declare alloca.
+
+ * HACKING (release): Forwarn the Translation Project about
+ stable releses.
+
+2005-09-20 Akim Demaille <akim@epita.fr>
+
+ * data/glr.c: Use b4_token_enums, not b4_token_enums_defines.
+
+2005-09-19 Paul Eggert <eggert@cs.ucla.edu>
+
+ * data/yacc.c (YYSIZE_MAXIMUM): New macro.
+ (YYSTACK_ALLOC_MAXIMUM): Use it.
+ (yysyntax_error): New function.
+ (yyparse) [YYERROR_VERBOSE]: Don't leak memory indefinitely if
+ multiple syntax errors are reported, and alloca is being used.
+ Instead, reallocate buffers twice as big each time, so that
+ we waste at most half the allocated memory. Start with a small
+ (128-byte) buffer that will suffice in most cases anyway.
+ Use yysyntax_error to do most of the work.
+
+ * doc/bison.texinfo (Error Reporting, Table of Symbols):
+ yynerrs is the number of errors reported, not the number of
+ errors encountered.
+
+ * tests/glr-regression.at (Duplicated user destructor for lookahead):
+ Mark it as expected to fail.
+ Cast result of malloc; problem reported by twlevo@xs4all.nl.
+ * tests/actions.at, tests/calc.at, tests/glr-regression.at:
+ Don't start user-code symbols with "yy", to avoid name space problems.
+
+2005-09-19 Akim Demaille <akim@epita.fr>
+
+ Remove the traits, failed experiment.
+ It never proved useful, and anyway because of the current
+ definition, it was not possible to have several specialization of
+ this traits, making it useless.
+ * data/lalr1.cc (yy:traits): Remove.
+ Inline its definitions in the parser class.
+
+2005-09-19 Akim Demaille <akim@epita.fr>
+
+ * tests/atlocal.in (LIBS): Pass INTLLIBS to address failures on at
+ least Mac OSX with a /usr/local install of gettext.
+
+2005-09-19 Akim Demaille <akim@epita.fr>
+
+ * data/lalr1.cc (yyparse): Rename yylooka and yyilooka as yychar
+ and yytoken for similarity with the other skeletons.
+
+2005-09-19 Akim Demaille <akim@epita.fr>
+
+ * NEWS, configure.ac: Bump to 2.1a.
+
+2005-09-16 Paul Eggert <eggert@cs.ucla.edu>
+
+ * NEWS: Version 2.1.
+
+ * NEWS: Remove notice of yytname change, since it was never in an
+ official release.
+ * data/glr.c (yydestroyGLRState): Rename local var to avoid shadowing
+ diagnostic.
+ * src/output.c (prepare): Likewise.
+ * data/lalr1.cc (YYERROR_VERBOSE_IF): New macro.
+ (yysyntax_error_): Use it to avoid GCC warning when YYERROR_VERBOSE
+ is not defined. This is an awful hack, but it's enough for now.
+ All callers changed.
+ * tests/glr-regression-at (make_value): Args are const pointers now,
+ to avoid GCC warning.
+ (Duplicated user destructor for lookahead): New test. Currently
+ skipped. It fails on my host but I'm not sure it'll always fail.
+
+2005-09-16 Akim Demaille <akim@epita.fr>
+
+ * src/symtab.h (struct symbol): Declare the printer and destructor
+ as const, to avoid accidental calls to free.
+ (symbol_destructor_set, symbol_printer_set): Adjust.
+ * src/symtab.c: Adjust.
+
+2005-09-16 Akim Demaille <akim@epita.fr>
+
+ * data/c.m4 (b4_token_enums): New.
+ (b4_token_defines): Rename as...
+ (b4_token_enums_defines): this.
+ (b4_token_defines): New, output only the #defines.
+ * data/yacc.c, data/glr.c: Adjust.
+ * data/lalr1.cc: Use b4_token_enums instead of b4_token_enums_defines.
+ * data/c.m4 (b4_yydestruct_generate, b4_yysymprint_generate): Define
+ as default values.
+
+2005-09-16 Akim Demaille <akim@epita.fr>
+
+ * data/lalr1.cc (yylex_): Remove, inline its code.
+ (yyreport_syntax_error_): Remove, replaced by...
+ (yysyntax_error_): this which returns a string and leaves to the
+ caller the call to the users' error function.
+ (yylooka_, yyilooka_, yylval, yylloc, yyerror_range_, yyval, yyloc):
+ Move from members of the parser object...
+ (yylooka, yyilooka, yylval, yylloc, yyerror_range, yyval, yyloc):
+ to local variables of the parse function.
+
+2005-09-16 Akim Demaille <akim@epita.fr>
+
+ * doc/bison.texinfo (Calc++ Parser): Don't promote defining YYEOF
+ since it's in Bison's name space.
+
+2005-09-15 Paul Eggert <eggert@cs.ucla.edu>
+
+ * data/glr.c (yyresolveValue): Add default case to pacify
+ gcc -Wswitch-default. Problem reported by twlevo@xs4all.nl.
+
+ * NEWS: Document when yyparse started to return 2.
+ * doc/bison.texinfo (Parser Function): Document when yyparse
+ returns 2.
+
+ * data/lalr1.cc: Revert part of previous change, as it's incompatible.
+ (b4_filename_type): Renamed back from b4_file_name_type. All uses
+ changed.
+ (class position): file_name -> filename (reverting). All uses changed.
+
+2005-09-14 Paul Eggert <eggert@cs.ucla.edu>
+
+ * examples/calc++/Makefile.am ($(calc_sources_generated)): Don't
+ do anything if $@ exists. This reverts part of the 2005-07-07
+ patch.
+
+2005-09-11 Paul Eggert <eggert@cs.ucla.edu>
+
+ * Makefile.am (EXTRA_DIST): Do not distribute REFERENCES; it
+ contains obsolete information and isn't worth distributing as a
+ separate file anyway.
+ * data/glr.c [defined YYSETJMP]: Don't include <setjmp.h>.
+ (YYJMP_BUF, YYSETJMP, YYLONGJMP) [!defined YYSETJMP]: New macros.
+ All uses of jmp_buf, setjmp, longjmp changed to use these instead.
+ (yyparse): Abort if user code uses longjmp to throw an unexpected
+ value.
+