Commit Graph

  • ee42c6166b (symbol_destructors_output, symbol_printers_output): Don't assume %union. Paul Eggert 2004-07-22 14:39:58 +00:00
  • c0659069d0 (yystype) [defined YYSTYPE]: Define to YYSTYPE, not to our own type. Paul Eggert 2004-07-22 14:39:34 +00:00
  • 60c8294801 (b4_symbol_actions): Don't assume %union was used. Paul Eggert 2004-07-22 14:39:03 +00:00
  • fa7e68c397 Reorganize GLR section a bit. Paul Eggert 2004-06-22 06:50:29 +00:00
  • 0817d1eccb One more "lookahead" -> "look-ahead" change. Paul Eggert 2004-06-21 21:01:42 +00:00
  • 99a9344e77 New section "Simple GLR Parsers". Paul Eggert 2004-06-21 20:55:20 +00:00
  • 85f23fae45 Regenerate. Paul Eggert 2004-06-21 20:51:32 +00:00
  • 8dd162d3ff Use "look-ahead" instead of "lookahead", consistently. Paul Eggert 2004-06-21 20:20:31 +00:00
  • 57a90331bd Update location of patched M4 distribution. Paul Eggert 2004-06-03 22:38:23 +00:00
  • 69daa921b8 Update location of patched M4 version. Paul Eggert 2004-06-03 22:28:57 +00:00
  • 8ed3234a14 Don't assume the C++ compiler takes the same arguments as the C compiler. Paul Eggert 2004-05-30 18:58:00 +00:00
  • 0797198341 Fix some "make check" problems with Tru64 C++. Paul Eggert 2004-05-30 00:56:57 +00:00
  • 2905865228 Workaround for SGI C++ compiler. Paul Eggert 2004-05-29 07:16:29 +00:00
  • fd418816b9 Increase prerequisite version numbers to match what the code really needs. Paul Eggert 2004-05-27 20:51:16 +00:00
  • 329d23c5d6 Regenerate. Paul Eggert 2004-05-27 07:40:12 +00:00
  • 62cb8a9920 * src/parse-gram.y (lloc_default): Rewrite to avoid compiler bug. * configure.ac (AC_PREREQ): Bump to 2.58. Paul Eggert 2004-05-27 07:38:17 +00:00
  • caa52c10c5 * configure.ac (AM_GNU_GETTEXT_VERSION): Lower it from 0.14.1 to 0.11.5. * bootstrap: Remove gettext version checking. Paul Eggert 2004-05-26 19:25:21 +00:00
  • 5c9be03d6d Also mention that %union can depend on prerequisite types. Paul Eggert 2004-05-26 17:45:45 +00:00
  • 2cef3017cd * README: Mention GNU m4 1.4 bugs and Akim's patched version. * README-alpha: Don't tell people not to package this. Paul Eggert 2004-05-26 07:20:06 +00:00
  • b9c85d5cef * bootstrap: Don't assume $(...) works; use ... instead. Paul Eggert 2004-05-26 06:46:02 +00:00
  • 4bfd5e4e53 * doc/bison.texinfo (Decl Summary, Bison Options): Clarify what's put into the -d output file. Paul Eggert 2004-05-25 19:09:01 +00:00
  • 6712933e0f Undo change made earlier today: it caused autopoint to not bring in ABOUT-NLS. Ouch. Instead, substitute our own diagnostic for autopoint's. Paul Eggert 2004-05-25 05:43:14 +00:00
  • 6a36ff9495 The gettext version checking is causing more trouble than it's curing; remove it. Paul Eggert 2004-05-24 20:08:54 +00:00
  • 209ea708c4 Ensure that the C++ compiler used for testing actually works on a simple test program; if not, skip the C++-related tests. Paul Eggert 2004-05-24 06:58:02 +00:00
  • 383e69dc79 Output yylloc macro defn in glr.c even if locations are not being generated. Paul Eggert 2004-05-21 22:23:04 +00:00
  • 41ca25499e * configure.ac (AC_INIT): Update to 1.875e. Paul Eggert 2004-05-21 22:12:21 +00:00
  • e476c87d93 Version 1.875d. Paul Eggert 2004-05-21 21:03:41 +00:00
  • 233a88ad11 Use size_t (not unsigned int) for hashes, since the gnulib hash module now uses size_t. Paul Eggert 2004-05-07 07:35:10 +00:00
  • 9668e2be96 Don't DEFUN AM_INTL_SUBDIR twice. Paul Eggert 2004-05-03 23:10:25 +00:00
  • a76ca26309 Regenerate. Paul Eggert 2004-05-03 07:58:53 +00:00
  • 12ffdd2835 * src/parse-gram.y: Put copyright notice inside %{ %} so it gets copied to the output file. Paul Eggert 2004-05-03 07:57:06 +00:00
  • 4febdd9667 Reject unescaped newlines in strings. Paul Eggert 2004-05-03 07:42:52 +00:00
  • e23d0dd71e Remove more 'intl'-related files while bootstrapping. Paul Eggert 2004-05-03 07:36:12 +00:00
  • 1f65350a16 Get files from the gnulib and po repositories, instead of relying on them being in our CVS. Upgrade to latest versions of gnulib and Automake. Paul Eggert 2004-04-28 20:00:56 +00:00
  • f97de3247f (GZIP_ENV): Don't use --rsyncable if gzip doesn't support it. (The latest stable gzip doesn't.) Paul Eggert 2004-04-28 19:52:27 +00:00
  • 6e26ca8c27 Remove more K&R C support. Paul Eggert 2004-04-28 06:52:51 +00:00
  • b970803c91 Rewrite so that subpipe.h can stand alone. Assume C89 or better. Paul Eggert 2004-04-28 06:30:05 +00:00
  • 126e375187 Remove PARAMS. Paul Eggert 2004-04-28 06:22:58 +00:00
  • 7d7d666369 Remove PARAMS and upgrade to latest obstack.h. Paul Eggert 2004-04-28 06:15:34 +00:00
  • ca6f187f64 (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Don't declare yyerror when using lalr.cc, as GCC 3.4.0 warns about the unused declaration. Paul Eggert 2004-04-28 06:06:31 +00:00
  • 0f53f2226d (%union synch line): Put a dummy member in the union, because empty unions aren't allowed in C. Caught by GCC 3.4.0. Paul Eggert 2004-04-28 06:03:54 +00:00
  • 45d5982f04 (Parser::stos_) [! YYDEBUG]: Define even in this case, as stos_ is now used by destructors due to the 2004-02-09 change. Paul Eggert 2004-04-28 05:48:39 +00:00
  • 1f916a78e6 Update copyright to 2004. Paul Eggert 2004-04-13 17:43:15 +00:00
  • 4f16766c00 * src/conflicts.c (conflicts_print): Correct format string typo: use %%' to produce literal %'. (trivial change) Paul Eggert 2004-04-13 17:42:59 +00:00
  • 584bbcd839 Regenerate. Paul Eggert 2004-03-31 00:41:30 +00:00
  • 779e7ceb93 Use 'short int' rather than 'short', and similarly for 'long', 'unsigned', etc. Paul Eggert 2004-03-31 00:37:21 +00:00
  • 2ae64eed27 (version): Update copyright year to 2004. Paul Eggert 2004-03-30 08:11:20 +00:00
  • d63282419d * src/parse-gram.y: Define PERCENT_EXPECT_RR. (declaration): Replace expected_conflicts with expected_sr_conflicts. Add %expect-rr rule. Paul Hilfinger 2004-03-26 22:41:16 +00:00
  • 1452af69b4 Add support for hex token numbers. Paul Eggert 2004-03-08 20:49:34 +00:00
  • 006d217ddd (AT_COMPILE, AT_COMPILE_CXX): Ignore stdout from compilers. Paul Eggert 2004-02-25 21:13:00 +00:00
  • 6a60c4cf45 Add a marker for when 1.875c was published. Paul Eggert 2004-02-25 20:23:33 +00:00
  • c2729758f2 Support %destructor and merge error locations in lalr1.cc. Alexandre Duret-Lutz 2004-02-09 21:31:42 +00:00
  • 0b31edd3e1 Regenerate. Paul Eggert 2004-02-02 22:52:54 +00:00
  • dd0e0635ec Replace INCLUDES with AM_CPPFLAGS, fixing a bug in src/Makefile.am reported by Paul Hilfinger. Paul Eggert 2004-02-02 22:36:49 +00:00
  • d0d5aa6425 (yytokenName): Bullet-proof against YYEMPTY token. (yyreportSyntaxError): Handle case where lookahead token is YYEMPTY. Paul Eggert 2004-02-02 22:35:53 +00:00
  • be16239bf7 data/glr.c: Put casts on uses of YYREALLOC and YYMALLOC so that resulting parsers are compilable with C++. Paul Hilfinger 2004-01-14 01:40:12 +00:00
  • 5fa908329c Log today's changes. Paul Eggert 2003-12-24 08:33:39 +00:00
  • 0ced3098fd Add Makevars.template, stamp-po. Remove stamp-cat-id. Paul Eggert 2003-12-24 08:32:43 +00:00
  • dc8a217381 ($(TESTSUITE)): Remove warning about ignoring multiple inclusion warnings. Paul Eggert 2003-12-24 08:30:45 +00:00
  • ce05140d9d Require Autoconf 2.59, and don't include local.at twice since Autoconf 2.59 yells about it for some reason. Paul Eggert 2003-12-24 08:26:02 +00:00
  • 3dc4c5faa9 (Torturing the Scanner): Don't use \x0 or \0 in Bison tokens, as this runs afoul of the 2003-10-07 change that disallowed NUL bytes in character constants or string literals. Paul Eggert 2003-12-24 08:17:05 +00:00
  • eecf08fe94 (output_skeleton): Rename local var. Paul Eggert 2003-12-24 07:55:25 +00:00
  • 28f57d2ae3 Sync with Automake 1.8. Paul Eggert 2003-12-24 07:52:17 +00:00
  • b165c324a3 * doc/bison.texinfo (How Can I Reset the Parser): More about start conditions. From Bruno Haible. Akim Demaille 2003-12-02 17:08:31 +00:00
  • 26e06a2157 * doc/bison.texinfo (Bison Options): Escape @' in $@'. Alexandre Duret-Lutz 2003-11-18 19:14:05 +00:00
  • eda429346a a -> an (minor typo fix) Paul Eggert 2003-10-21 17:42:48 +00:00
  • 6a5ecb38fc Don't run 'testsuite --clean' if testsuite doesn't exist. Paul Eggert 2003-10-07 23:34:20 +00:00
  • 92ac370570 Do not allow NUL bytes in string literals or character constants. Paul Eggert 2003-10-07 07:32:57 +00:00
  • 91d2c560a8 Don't document %no-default-prec for now. Paul Eggert 2003-10-05 07:34:36 +00:00
  • 0cc3da3a4e In GLR grammars, $N and @N now yield non-modifiable lvalues. Paul Eggert 2003-10-05 06:46:53 +00:00
  • 66ef8b9d65 Regenerate. Paul Eggert 2003-10-01 22:00:13 +00:00
  • 22fccf958f Use "%no-default-prec" instead of "%default-prec 0". Paul Eggert 2003-10-01 21:33:24 +00:00
  • fc8f296538 VCG no longer supports long_straight_phase. * src/vcg.c, src/vcg.h: Remove the handling of long_straight_phase. * src/print_graph.c (print_graph): Adjust. Akim Demaille 2003-10-01 07:46:41 +00:00
  • 92f5e991da Update. Akim Demaille 2003-10-01 07:46:02 +00:00
  • 42db4e2b74 Describe %default-prec. Paul Eggert 2003-09-30 20:20:25 +00:00
  • 39a06c251a Add %default-prec. Paul Eggert 2003-09-30 20:11:29 +00:00
  • 7f41b88821 Include local.at, not input.at, fixing a typo in the 2003-08-25 patch. Paul Eggert 2003-09-30 16:45:13 +00:00
  • 62b6aef925 * data/lalr1.cc (yyparse) [__GNUC__]: "Use" yyerrorlab to pacify GCC warnings. Akim Demaille 2003-08-27 07:00:10 +00:00
  • 89e1cc61b7 * config/announce-gen (print_changelog_deltas): Neutralize "<#" as "<#" to avoid magic from Gnus when posting parts of this script. Akim Demaille 2003-08-26 07:13:52 +00:00
  • a08460b08c * data/lalr1.cc (Parser::report_syntax_error_): New, extracted from (Parser::parse): here. Adjust: nerrs and errstatus is now replaced by... (Parser::nerrs_, Parser::errstatus_): New. Akim Demaille 2003-08-26 05:21:41 +00:00
  • 603f1cfdc5 * config/announce-gen, Makefile.cfg: New. * Makefile.am: Adjust. * GNUmakefile, Makefile.maint: Update from CVS Autoconf, but keeping local WGET and WGETFLAGS modifications from Paul Eggert. Akim Demaille 2003-08-25 18:47:36 +00:00
  • cd3684cfa8 When reducing initial empty rules, Bison parser read an initial location that is not defined. This results in garbage, and that affects Bison's own parser. Therefore we need (i) to extend Bison to support a means to initialize this location, and (ii) to use this CVS Bison to fix CVS Bison's parser. * src/reader.h, reader.c (epilogue_augment): Remove, replace with... * src/muscle_tab.h, src/muscle_tab.c (muscle_code_grow): this. * src/parse-gram.y: Adjust. (%initial-action): New. (%error-verbose): Since we require CVS Bison, there is no reason not to use it. * src/scan-gram.l: Adjust. * src/Makefile.am (YACC): New, to make sure we use our own parser. * data/yacc.c (yyparse): Use b4_initial_action. Akim Demaille 2003-08-25 15:16:25 +00:00
  • 388f8b197d Update. Akim Demaille 2003-08-25 15:15:32 +00:00
  • 4e03e2015c * doc/bison.texinfo: Don't promote stdout for error messages. Akim Demaille 2003-08-25 10:35:38 +00:00
  • 8c182d0592 * data/lalr1.cc (Parser::reduce_print_): Remove unused yyi. From Alexandre Duret-Lutz. Akim Demaille 2003-08-25 09:54:57 +00:00
  • 25f66e1a6a * data/lalr1.cc (Parser::stack_print_, YY_STACK_PRINT): New. Use them. Akim Demaille 2003-08-25 08:39:34 +00:00
  • 5348bfbe29 * data/lalr1.cc (Parser::reduce_print_): New. Use it. Akim Demaille 2003-08-25 08:29:27 +00:00
  • 473013144d Have lalr1.cc catch with Paul Eggert's patch to fix the infinite error recovery loops. This patch is based on <http://mail.gnu.org/archive/html/bison-patches/2003-06/msg00000.html>. Also, augment the similarity between lalr1.cc and yacc.c. Note: the locations of error recovery rules are not correct yet. * data/lalr1.cc: Comment changes to augment the similarity between lalr1.cc and yacc.c. (YYERROR): Goto to yyerrorlab, not yyerrlab1. (yyerrlab1): Remove, but where it used to be (now the bottom part of yyerrlab), when hitting EOF, pop the whole stack here instead of merely falling thru the default error handling mechanism. (yyerrorlab): New label, with the old contents of YYERROR, plus the following change: pop the stack of rhs corresponding to the production that invoked YYERROR. That is how Yacc behaves (required by POSIX). * tests/calc.at (AT_CHECK_CALC_LALR1_CC): No longer expected to fail. Akim Demaille 2003-08-25 08:06:17 +00:00
  • 1f7a61ff99 Tune local.at so that people can "autom4te -l autotest calc.at -o calc" for instance, to extract a sub test suite. * tests/testsuite.at: Move the initialization, Autotest version requirement, and AT_TESTED invocation into... * tests/local.at: here. * tests/testsuite.at: Include it for compatibility with Autoconf 2.57. * tests/Makefile.am ($(TESTSUITE)): Report that the warning should be ignore. Akim Demaille 2003-08-25 07:15:49 +00:00
  • 750a5211c0 Update. Akim Demaille 2003-08-25 07:15:07 +00:00
  • 327b5b5675 Rework glr.c slightly to avoid gcc -Wtraditional warnings. Paul Eggert 2003-08-04 19:09:58 +00:00
  • 7b98f503de (yyuserMerge): Return void, not YYSTYPE. The returned value is now stored in *YY0. All callers changed. Paul Eggert 2003-08-04 19:09:15 +00:00
  • 16caa4f431 (merge_output): Adjust to the change to ../data/glr.c. Paul Eggert 2003-08-04 19:08:38 +00:00
  • 0051e3edb0 * data/glr.c (YYASSERT): New macro. Paul Eggert 2003-07-26 14:14:15 +00:00
  • 64c4fd521a (YYASSERT): New macro. (yyfillin, yydoAction, yyglrReduce, yysplitStack, yyresolveStates, yyprocessOneStack): Use YYASSERT (FOO);' rather than if (! (FOO)) abort ();'. Paul Eggert 2003-07-26 14:12:28 +00:00
  • 5b620e069d * data/glr.c (yyglrReduce): Don't use C89 string concatenation. Paul Eggert 2003-07-25 07:42:57 +00:00
  • dfc8a22010 (yyglrReduce): Don't use C89 string concatenation. Paul Eggert 2003-07-25 07:42:25 +00:00
  • 137437c6db Let the user specify how to allocate and free memory. Paul Eggert 2003-07-25 07:12:11 +00:00
  • 2779e38386 (YYFREE, YYMALLOC): New macros. All uses of free, malloc changed to use these macros. Paul Eggert 2003-07-25 07:11:42 +00:00
  • a525b5687d (YYFREE, YYMALLOC, YYREALLOC): New macros. All uses of free, malloc, realloc changed to use these macros, and unnecessary casts removed. Paul Eggert 2003-07-25 07:10:14 +00:00