X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/2c09b6a7ea4edd44ec0994373b04c4525f7f7dea..1ee6d2a02e368f66373b8cf87689af8e340e926d:/ChangeLog diff --git a/ChangeLog b/ChangeLog index 4bafa053..99775675 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,64 @@ +2003-01-08 Paul Eggert + + * Makefile.maint (WGETFLAGS): + New macro, containing "-C off" to disable proxy caches. + All uses of $(WGET) changed to $(WGET) $(WGETFLAGS). + (rel-check): Use $(WGET) instead of wget. + +2003-01-06 Paul Eggert + + * doc/bison.texinfo (Generalized LR Parsing): Add a reference to + the GLR paper of Scott, Johnstone and Hussain. + +2003-01-04 Paul Eggert + + * configure.ac (AC_ARG_ENABLE): Add --disable-yacc. + (YACC_SCRIPT, YACC_LIBRARY): New vars to AC_SUBST. + * lib/Makefile.am (lib_LIBRARIES): liby.a -> @YACC_LIBRARY@. + (EXTRA_LIBRARIES): New var, for liby.a. + * src/Makefile.am (bin_SCRIPTS): yacc -> @YACC_SCRIPT@. + (EXTRA_SCRIPTS): New var, for yacc. + + * data/yacc.c (yyerrlab1): Omit attribute if __cplusplus is defined, + since GNU C++ (as of 3.2.1) does not allow attributes on labels. + Problem reported by Nelson H. F. Beebe. + +2003-01-03 Paul Eggert + + * lib/obstack.h (__INT_TO_PTR) [__STDC__]: Cast result to + (void *) to avoid diagnostic with native c89 on SGI IRIX 6.5 + when compiling Bison 1.875's `bitset bset = obstack_alloc + (bobstack, bytes);'. Problem reported by Nelson H. F. Beebe. + + * src/scan-skel.l (QPUTS): Omit redundant `;' from macro definition. + ([^@\n]): Renamed from [^@\n]+ so that the token buffer does not + grow to a huge size with typical invocation. + + * lib/hash.c (_Bool, bool, false, true, __bool_true_false_are_defined): + Use the pattern recommended by Autoconf 2.57, except also protect + against double-definition. + * src/system.h: Likewise. + Portability issues reported by Nelson H. F. Beebe. + + * data/glr.c (yybool): Renamed from bool, to avoid collisions in C. + All uses changed. Provide a definition in both C and C++. + (yytrue, yyfalse): Define even if defined (__cplusplus). + + * lib/bitset_stats.c (bitset_stats_list): Remove unused var. + Reported by Nelson H. F. Beebe. + + * src/scan-skel.l ("@oline@"): Output lineno+1, not lineno. + +2003-01-02 Paul Eggert + + * data/yacc.c (yyerrlab1): Append `;' after attribute, to + pacify the buggy "smart preprocessor" in MacOS 10.2.3. + Bug reported by Nelson H. F. Beebe. + +2003-01-01 Paul Eggert + + * Version 1.875. + 2002-12-30 Paul Eggert * src/scan-gram.l (","): @@ -5,7 +66,7 @@ (","): Here. This causes stray "," to be treated more uniformly. - * src/scan-gram.l ("}"): Append ";" before the + * src/scan-gram.l ("}"): Output ";" before the last brace in braced code when not in Yacc mode, for compatibility with Bison 1.35. This resurrects the 2001-12-15 patch to src/reader.c. @@ -18,7 +79,7 @@ * src/symtab.c (symbol_make_alias): Set type of SYMVAL to be that of SYM's type. This fixes Debian bug 168069, reported by Thomas Olsson. - + 2002-12-28 Paul Eggert Version 1.75f. @@ -69,7 +130,7 @@ * tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Error locations include the locations of all the tokens that were discarded, not just the last token. - + 2002-12-26 Paul Eggert * src/files.c: Include quote.h. @@ -85,7 +146,7 @@ Don't use m4_include on relative file names, as it doesn't work as desired if there happens to be a file with that name under ".". - + * m4sugar/version.m4: Remove; it was included but it wasn't used. * data/Makefile.am (dist_m4sugar_DATA): Remove m4sugar/version.m4. * data/m4sugar/m4sugar.m4: Don't include m4sugar/version.m4. @@ -94,7 +155,7 @@ specifying a file to include; don't rely on include path, as it's unreliable when the working file contains a file with that name. - + 2002-12-25 Paul Eggert Remove obsolete references to bison.simple and bison.hairy. @@ -174,7 +235,7 @@ (token_type): New local var, to keep track of which token type to return when scanning braced code. ("%destructor", "%lex-param", - "%parse-param", "%printer, + "%parse-param", "%printer", "%union"): Set token type and BEGIN SC_PRE_CODE instead of returning a token type immediately. ("{"): Set token type. @@ -201,7 +262,7 @@ lookahead symbol, and which sets yychar in parser actions) and it disagreed with the Bison documentation. Bug reported by Andrew Walrond. - + * data/yacc.c (YYTRANSLATE): Don't check for negative argument, as the caller now does that. (yyclearin, YYBACKUP, yyparse): Use yychar, not yytoken. @@ -221,7 +282,7 @@ as an alias for bison y. * po/LINGUAS: Add da. - + * src/getargs.c (__GNU_LIBRARY__) [lint]: Define to work around problem with latest . (HACK_FOR___GNU_LIBRARY___PROTOTYPE): New macro. @@ -954,7 +1015,7 @@ * data/glr.c (yydoAction): Return YYRESULTTAG, not int. (yyglrReduce): Return yyok, not 0. This should avoid the enumerated-type warnings reported - by Nelson H.F. Beebe in + by Nelson H. F. Beebe in . * lib/bbitset.h (BITSET_INLINE): Remove. @@ -964,7 +1025,7 @@ * data/glr.c (inline): Remove #define. It's the user's responsibility to #define it away, just like 'const'. - This fixes one of the bugs reported by Nelson H.F. Beebe in + This fixes one of the bugs reported by Nelson H. F. Beebe in . * Makefile.maint (po-check): Scan .l and .y files instead of the @@ -10607,10 +10668,11 @@ 1987-12-16 Richard Stallman * REFERENCES: entered into RCS + ----- Copyright (C) 1987, 1988, 1991, 1992, 1993, 1994, 1995, 1996, 1997, -1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. +1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler.