Commit Graph

  • bd16a5dcf5 Fix ChangeLog. Akim Demaille 2002-02-11 16:28:40 +00:00
  • 4162fa07ae * data/bison.c++ (YYDEBUG, YYERROR_VERBOSE): After the prologue. (Copyright notice): Update. Robert Anisko 2002-02-11 14:15:51 +00:00
  • b418ecd84f * tests/regression.at (%nonassoc and eof): Don't include nonportable headers. Akim Demaille 2002-02-11 13:38:43 +00:00
  • 9cbe3c4878 * tests/regression.at (%nonassoc and eof): Don't include non portable headers. Akim Demaille 2002-02-11 13:31:14 +00:00
  • d961d172be Bump to 1.33a. Akim Demaille 2002-02-11 13:28:56 +00:00
  • 8d69a1a3ae * data/bison.c++: Correct error recovery. Make the user able to initialize the starting location. Robert Anisko 2002-02-08 14:07:10 +00:00
  • dbbe1eb433 . Akim Demaille 2002-02-07 17:44:12 +00:00
  • 0e25677ee2 Version 1.33. v1.33 Akim Demaille 2002-02-07 17:39:57 +00:00
  • e89a22bfab * tests/regression.at, tests/torture.at, tests/calc.at: Adjust to newest Autotest, where `.' is not in the PATH. Akim Demaille 2002-02-07 17:30:49 +00:00
  • 616429b508 Fix the previous test. Akim Demaille 2002-02-07 17:22:50 +00:00
  • 9b2d067768 * tests/input.at: New. Akim Demaille 2002-02-07 17:18:49 +00:00
  • f5c0dc4880 * src/reader.c (copy_at): Detect invalid @N values. Akim Demaille 2002-02-07 17:17:16 +00:00
  • 7307a21a45 * tests/input.at: New. Akim Demaille 2002-02-07 17:13:46 +00:00
  • 69e2658bf6 * data/bison.c++: Replace some direct m4 expansions by constants. Be more consistent when naming methods and variables. Put preprocessor directives around tables only needed for debugging. Robert Anisko 2002-02-07 16:41:23 +00:00
  • 63f7fb275a Update. Akim Demaille 2002-02-07 14:59:47 +00:00
  • 4aacc3a71d * data/bison.c++ (yy::b4_name::print_): New method, replaces yyprint in C++ parsers. (yy::b4_name::parse): Use print_. Robert Anisko 2002-02-07 14:41:46 +00:00
  • 762a801e00 * data/bison.c++ (yy::b4_name::parse): Error recovery is back. Robert Anisko 2002-02-07 13:02:40 +00:00
  • 4bb2bc3f61 * data/bison.c++ (yy::b4_name::error_): New method, replaces yyerror in C++ parsers. (yy::b4_name::parse): Build verbose error messages, and use error_. Robert Anisko 2002-02-07 11:35:40 +00:00
  • 9f007dfecc Regen. Akim Demaille 2002-02-06 17:21:18 +00:00
  • 6b45a3ca82 * data/bison.c++: Fix m4 quoting in comments. Robert Anisko 2002-02-06 15:17:57 +00:00
  • 50997c6eeb * data/bison.c++: Adjust the parser code. Fix some muscles that were not expanded by m4. Robert Anisko 2002-02-06 14:22:44 +00:00
  • 0d76958cf7 Really remove parse-skel.y. Akim Demaille 2002-02-05 10:15:24 +00:00
  • 11ee57d90c Really add readpipe to the repo. Akim Demaille 2002-02-05 10:14:20 +00:00
  • ea6cfe9ebd Really add m4sugar to the repo. Akim Demaille 2002-02-05 10:13:16 +00:00
  • 3f3eed2770 * data/bison.c++: Adjust to the M4 back end. More is certainly needed. Akim Demaille 2002-02-05 10:09:49 +00:00
  • be2a1a68ef Give a try to M4 as a back end. * lib/readpipe.c: New, from wdiff. * src/Makefile.am (DEFS): Define PKGDATADIR, not BISON_SIMPLE and BISON_HAIRY. * src/system.h (BISON_HAIRY, BISON_SIMPLE): Remove the DOS and VMS specific values. Now it is m4 that performs the lookup. * src/parse-skel.y: Remove. * src/muscle_tab.c, src/muscle_tab.h (muscles_m4_output): New. * src/output.c (actions_output, guards_output) (token_definitions_output): No longer keeps track of the output line number, hence remove the second argument. (guards_output): Check against the guard member of a rule, not the action member. Adjust callers. (output_skeleton): Don't look for the skeleton location, let m4 do that. Create /tmp/muscles.m4'. This is temporary, a proper temporary file will be used. Invoke m4' on m4sugar.m4, muscles.m4, and the skeleton. (prepare): Given that for the time being changesyntax is not usable in M4, rename the muscles using -' to _'. Define defines_flag', output_parser_name' and output_header_name'. * src/output.h (actions_output, guards_output) (token_definitions_output): Adjust prototypes. * src/scan-skel.l: Instead of scanning the skeletons, it now processes the output of m4: __oline__' and #output'. * data/bison.simple: Adjust to be used by M4(sugar). * tests/Makefile.am: Use check_SCRIPTS to make sure bison' is up to date. * tests/bison.in: Use the secrete envvar BISON_PKGDATADIR' instead of the dead BISON_SIMPLE' and `BISON_HAIRY'. * data/m4sugar/m4sugar.m4, data/m4sugar/version.m4: New, shamelessly stolen from CVS Autoconf. Akim Demaille 2002-02-05 10:08:59 +00:00
  • 8e86444744 Revert the previous patch. before-m4-back-end Akim Demaille 2002-02-05 10:04:24 +00:00
  • beda758b1f * lib/hash.c, lib/hash.h: Replace with Fileutils 4.1's version. * configure.in: Check for the declarations of free and malloc. * src/muscle_tab.c: Adjust. Akim Demaille 2002-02-05 10:00:47 +00:00
  • 5ece6d436f * src/muscle_tab.c (muscle_init): Don't default to NULL muscle which have no values. Akim Demaille 2002-02-05 09:58:57 +00:00
  • 5bb18f9a19 * src/bison.simple, src/bison.hairy, src/bison.c++: Move to... * data/: here. Akim Demaille 2002-02-05 09:57:52 +00:00
  • 894dd62eb2 * src/bison.simple (YYSIZE_T): Do not define merely because YYSTACK_USE_ALLOCA is nonzero or alloca or _ALLOCA_H are defined. On some platforms, <alloca.h> does not declare YYSTD (size_t). Paul Eggert 2002-01-29 13:58:06 +00:00
  • 2992e1e967 (YYSIZE_T): Do not define merely because YYSTACK_USE_ALLOCA is nonzero or alloca or _ALLOCA_H are defined. On some platforms, <alloca.h> does not declare YYSTD (size_t). Paul Eggert 2002-01-29 13:55:32 +00:00
  • 4f55c2577d * src/bison.simple (YYSIZE_T): Do not define merely because YYSTACK_USE_ALLOCA is nonzero or alloca or _ALLOCA_H are defined. On some platforms, <alloca.h> does not declare YYSTD (size_t). Paul Eggert 2002-01-29 13:52:05 +00:00
  • 62a21d52ce (YYSIZE_T): Do not define merely because YYSTACK_USE_ALLOCA is nonzero or alloca or _ALLOCA_H are defined. On some platforms, <alloca.h> does not declare YYSTD (size_t). Paul Eggert 2002-01-29 13:50:11 +00:00
  • 82841af7d0 Fix %nonassoc and eof'. * src/state.c (errs_dup): Aaaah! The failure was due to bytes which were not properly copied! Replace memcpy (res->errs, src->errs, src->nerrs); with memcpy (res->errs, src->errs, src->nerrs * sizeof (src->errs[0])); !!! * tests/regression.at (%nonassoc and eof): Adjust to newest Autotest: .' is not in the PATH. Akim Demaille 2002-01-27 13:57:17 +00:00
  • 318b76e913 * tests/sets.at (AT_EXTRACT_SETS): New. (Nullable): Use it. (Firsts): New. Akim Demaille 2002-01-27 13:57:03 +00:00
  • 30d2f3d50f * tests/actions.at, tests/calc.at, tests/headers.at, * tests/torture.at: Adjust to the newest Autotest which no longer forces `.' in the PATH. Akim Demaille 2002-01-27 10:59:15 +00:00
  • 30f8c3953f * tests/regression.at (%nonassoc and eof): New. Suggested by Robert Anisko. Akim Demaille 2002-01-25 16:24:40 +00:00
  • 27fb1c24b7 * tests/regression.at (%nonassoc and eof): New. Suggested by Robert Anisko. Akim Demaille 2002-01-25 16:24:21 +00:00
  • 281a98c77a 1.32a. Akim Demaille 2002-01-25 11:29:31 +00:00
  • 83ce390155 Adjust. Akim Demaille 2002-01-24 18:57:32 +00:00
  • c96ef8e0b9 Update. Akim Demaille 2002-01-24 18:51:04 +00:00
  • 29ae55f112 Bison dumps core when trying to complain about broken input files. Reported by Cris van Pelt. * src/lex.c (parse_percent_token): Be sure to set token_buffer. * tests/regression.at (Invalid input: 1, Invalid input: 2): Merge into... (Invalid inputs): Strengthen: exercise parse_percent_token. Akim Demaille 2002-01-24 17:09:34 +00:00
  • 2b548aa648 * src/Makefile.am: Add bison.c++. * src/bison.c++: New skeleton. Robert Anisko 2002-01-24 16:50:07 +00:00
  • 501cc96c68 . Akim Demaille 2002-01-23 13:31:25 +00:00
  • a69417c066 Version 1.32. v1.32 Akim Demaille 2002-01-23 13:27:47 +00:00
  • d138fdbf19 Update. Akim Demaille 2002-01-23 13:24:22 +00:00
  • 9326268a46 * src/getargs.c (version): Bump to 2002. Patch the PO files to help translators. Akim Demaille 2002-01-23 13:14:56 +00:00
  • 88964d04d9 Update. Akim Demaille 2002-01-22 17:14:38 +00:00
  • e803581008 Missing ]. Akim Demaille 2002-01-22 14:29:56 +00:00
  • 015af8c168 Bison dumps core when trying to complain about broken input files. Reported by Cris van Pelt. * src/lex.c (parse_percent_token): Be sure to set token_buffer. * tests/regression.at (Invalid input: 1, Invalid input: 2): Merge into... (Invalid inputs): Strengthen: exercise parse_percent_token. Akim Demaille 2002-01-22 10:29:28 +00:00
  • 3a48f72d7e Regen. Akim Demaille 2002-01-21 19:33:36 +00:00
  • bb0146c2a9 * po/it.po: New. Akim Demaille 2002-01-21 19:29:04 +00:00
  • 4518a4baae Adjust. Akim Demaille 2002-01-21 19:27:55 +00:00
  • 3e0f96bc08 * po/it.po: New. Akim Demaille 2002-01-21 19:27:34 +00:00
  • bec30531f7 * src/files.c (skeleton_find) [MSDOS]: Fix cp definition. Akim Demaille 2002-01-21 15:50:39 +00:00
  • ef1a77c2c9 * src/files.c (skeleton_find) [MSDOS]: Fix cp definition. Akim Demaille 2002-01-21 15:48:25 +00:00
  • 2842171a4c Regen. Akim Demaille 2002-01-21 14:09:53 +00:00
  • fc6edc45c0 * src/files.c (compute_output_file_names): Fix Marc Autret 2002-01-20 15:59:34 +00:00
  • 5e5d541531 * tests/output.at: New test. * src/files.c (compute_base_names): Don't map extensions when the YACC flag is set, use defaults. Reported by Evgeny Stambulchik. Marc Autret 2002-01-20 15:46:19 +00:00
  • 52d1aeee3d Update. Marc Autret 2002-01-20 14:37:39 +00:00
  • 44ea3fbdf5 * src/system.h: Need to define __attribute__ away for non-GCC compilers as well (i.e. the vendor C compiler). Suggested by Albert Chin-A-Young. Marc Autret 2002-01-20 11:34:02 +00:00
  • 64fa1ea1b8 * src/system.h: Need to define __attribute__ away for non-GCC compilers as well (i.e. the vendor C compiler). Suggested by Albert Chin-A-Young. Marc Autret 2002-01-20 10:59:44 +00:00
  • 7700a71572 * tests/output.at: New test. * src/files.c (compute_base_names): Don't map extensions when the YACC flag is set, use defaults. Reported by Evgeny Stambulchik. Marc Autret 2002-01-19 12:50:56 +00:00
  • 7baed3bf89 * configure.in, doc/version.texi: Bump to 1.31a. Marc Autret 2002-01-19 12:47:28 +00:00
  • 1710ea3d30 . Akim Demaille 2002-01-14 10:58:00 +00:00
  • 12de352a6f Bump to 1.31. v1.31 Akim Demaille 2002-01-14 10:28:31 +00:00
  • 6fc75bfd3a * tests/regression.at (Invalid CPP headers): Remove. Akim Demaille 2002-01-14 10:16:49 +00:00
  • 96df91407c Bump to 1.30m. Akim Demaille 2002-01-14 10:16:41 +00:00
  • b30efba0d0 . Akim Demaille 2002-01-12 11:45:03 +00:00
  • fd2d280114 Version 1.30l. v1.30l Akim Demaille 2002-01-12 11:41:45 +00:00
  • 68e202f30f * lib/Makefile.am (EXTRA_DIST): Add strnlen.c: Automake is still not using Autoconf traces and does not see Autoconf's AC_LIBOBJ. Akim Demaille 2002-01-12 11:39:54 +00:00
  • 338963d177 * src/system.h, lib/hash.h, lib/hash.c: PARAMS fixes. Tim Van Holder 2002-01-11 15:32:06 +00:00
  • e1dd105c0a * src/system.h: Use canonical definition for PARAMS (avoids clash with macro from hash.h). Tim Van Holder 2002-01-11 15:27:54 +00:00
  • a10778dc32 * lib/hash.h, lib/hash.c (__P): Renamed to PARAMS; canonical definition used. Tim Van Holder 2002-01-11 15:26:56 +00:00
  • d7848b138c . Akim Demaille 2002-01-11 13:46:33 +00:00
  • 40c6b975e9 Update. v1.30k Akim Demaille 2002-01-11 13:42:16 +00:00
  • d9e9746c06 More thanks. Akim Demaille 2002-01-11 13:37:39 +00:00
  • a5fb3dead0 Version 1.30k. Akim Demaille 2002-01-11 13:37:00 +00:00
  • c57b2479ff * configure.in: Use AC_FUNC_STRNLEN. Akim Demaille 2002-01-11 13:33:05 +00:00
  • ac5ff6a908 * configure.in: Use AC_FUNC_STRNLEN. Akim Demaille 2002-01-11 13:31:33 +00:00
  • 0b1cb33137 . Akim Demaille 2002-01-09 15:17:22 +00:00
  • 9f3c97f74f Version 1.30j. v1.30j Akim Demaille 2002-01-09 15:12:39 +00:00
  • a99566be67 * configure.in (WERROR_CFLAGS): Compute it. * src/Makefile.am (CFLAGS): Pass it. * tests/atlocal.in (CFLAGS): Idem. Akim Demaille 2002-01-09 15:06:25 +00:00
  • ca66b45a86 Update. Akim Demaille 2002-01-09 14:56:07 +00:00
  • b85810aec0 * src/files.c, src/files.h (output_infix): New. (tab_extension): Remove. (compute_base_names): Compute the former, drop the latter. * src/output.c (prepare): Insert the muscles output-infix', and output-suffix'. * src/parse-skel.y (string, string.1): New. (section.header): Use it. (section.yacc): Remove. (prefix): Remove too. * src/scan-skel.l: Adjust. * src/bison.simple, src/bison.hairy: Adjust. Akim Demaille 2002-01-09 13:03:45 +00:00
  • cae601224e * configure.in (WERROR_CFLAGS): Compute it. * src/Makefile.am (CFLAGS): Pass it. * tests/atlocal.in (CFLAGS): Idem. * src/files.c: Fix a few warnings. (get_extension_index): Remove, unused. Akim Demaille 2002-01-09 13:03:20 +00:00
  • 55601256c2 * lib/Makefile.am (libbison_a_SOURCES): Add xstrndup.c. * src/getargs.c (AS_FILE_NAME): New. (getargs): Use it to convert DOSish file names. * src/files.c (base_name): Rename as full_base_name to avoid clashes with `base_name ()'. (get_extension_index): Remove. (filename_split): New. (compute_base_names): N-th rewrite, using filename_split. Akim Demaille 2002-01-08 17:41:38 +00:00
  • 43cc2463d2 * lib/basename.c, lib/dirname.h, lib/dirname.c, lib/memrchr.c, * lib/xstrndup.c, lib/strchr.c: New, stolen from the Fileutils 4.1. * lib/Makefile.am (libbison_a_SOURCES): Adjust. * configure.in: Check for the presence of memrchr, strchr, strnlen, and of their prototypes. Don't check for strndup: we no longer use it. * src/system.h: Adjust the prototypes. Akim Demaille 2002-01-08 17:30:53 +00:00
  • ae40480115 * src/getargs.c (AS_FILE_NAME): New. (getargs): Use it to convert DOSish file names. * src/files.c (base_name): Rename as full_base_name to avoid clashes with `base_name ()'. (filename_split): New. (compute_base_names): N-th rewrite, using filename_split. Akim Demaille 2002-01-08 17:28:18 +00:00
  • 22312b71e0 * lib/basename.c, lib/dirname.h, lib/dirname.c, lib/memrchr.c: New, stolen from the Fileutils 4.1. * lib/Makefile.am (libbison_a_SOURCES): Adjust. * configure.in: Check for the presence of memrchr, and of its prototype. Akim Demaille 2002-01-08 17:27:46 +00:00
  • a67cef01b1 * lib/hash.h (__P): Added definition for this macro. * src/Makefile.am: Add parse-skel.c and scan-skel.c to BUILT_SOURCES, to ensure they are generated first. * src/parse-skel.y: Use YYERROR_VERBOSE instead of %error-verbose to allow bootstrapping with bison 1.30x. Tim Van Holder 2002-01-07 23:00:39 +00:00
  • e9f87b5b7d Regen. Akim Demaille 2002-01-07 08:44:08 +00:00
  • 25a46077de * src/conflicts.c (count_rr_conflicts): The previous RR conflicts patch was improperly applied: fix it. Akim Demaille 2002-01-07 08:42:59 +00:00
  • 62d3162c4c Revert the previous patch which was meant for the trunk only. Akim Demaille 2002-01-07 08:40:29 +00:00
  • 3f2f7848cc * src/reader.c (parse_braces): Don't fetch the next char, the convention is to fetch on entry. * tests/torture.at (GNU Cim Grammar): Reintroduce their weird 'switch' without a following semicolon. * tests/regression.at (braces parsing): New. Akim Demaille 2002-01-06 20:59:30 +00:00
  • c4267a3d35 Bison is dead wrong in its RR conflict reports. * tests/torture.at (GNU Cim Grammar): New. * src/conflicts.c (count_rr_conflicts): Fix. Akim Demaille 2002-01-06 20:59:12 +00:00
  • ae774286e8 Creating package.m4 from configure.ac causes too many problems. * tests/Makefile.am (package.m4): Create it by hand, AC_CONFIG_TESTDIR no longer does in the most recent CVS Autoconf. Akim Demaille 2002-01-06 20:57:20 +00:00
  • 43f8a3245a Regen. Akim Demaille 2002-01-06 20:56:42 +00:00
  • 2b25d624f6 * src/reader.c (parse_braces): Don't fetch the next char, the convention is to fetch on entry. * tests/torture.at (GNU Cim Grammar): Reintroduce their weird 'switch' without a following semicolon. * tests/regression.at (braces parsing): New. Akim Demaille 2002-01-06 20:50:08 +00:00