Commit Graph

  • f4b4269b3b Update. Akim Demaille 2002-03-20 08:53:25 +00:00
  • 2185ba74ba * Gettext 0.11.1. Akim Demaille 2002-03-20 08:43:13 +00:00
  • ec178c6427 Regen. Akim Demaille 2002-03-20 08:30:40 +00:00
  • 21db0b2a65 * src/bison.simple (YYCOPY): New macro. (YYSTACK_RELOCATE): Use it. Remove Type arg; no longer needed. All callers changed. (yymemcpy): Remove; no longer needed. Paul Eggert 2002-03-20 07:30:00 +00:00
  • 5b041382df (YYCOPY): New macro. (YYSTACK_RELOCATE): Use it. Remove Type arg; no longer needed. All callers changed. (yymemcpy): Remove; no longer needed. Paul Eggert 2002-03-20 07:28:52 +00:00
  • 70bcf94ae8 * src/bison.simple (YYCOPY): New macro. (YYSTACK_RELOCATE): Use it. Remove Type arg; no longer needed. All callers changed. (yymemcpy): Remove; no longer needed. Paul Eggert 2002-03-20 07:20:15 +00:00
  • 41ee433e39 (YYCOPY): New macro. (YYSTACK_RELOCATE): Use it. Remove Type arg; no longer needed. All callers changed. (yymemcpy): Remove; no longer needed. Paul Eggert 2002-03-20 07:18:54 +00:00
  • 9ffbeca717 * Makefile.am (AUTOMAKE_OPTIONS): 1.6. * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove. Paul Eggert 2002-03-20 07:03:00 +00:00
  • cf3b4b64d0 (AUTOMAKE_OPTIONS): Remove. Paul Eggert 2002-03-20 07:02:15 +00:00
  • fd6748e22c (AUTOMAKE_OPTIONS): 1.6. Paul Eggert 2002-03-20 07:01:15 +00:00
  • 9bd1a920de * Makefile.am (AUTOMAKE_OPTIONS): 1.6. * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove. * Makefile.in, aclocal.m4, config.hin, configure, config/Makefile.in, config/depcomp, config/install-sh, doc/Makefile.am, lib/Makefile.in, m4/Makefile.in, src/Makefile.in, tests/Makefile.in: Regenerate using Automake 1.6. Paul Eggert 2002-03-19 10:55:47 +00:00
  • 334414e7f8 Regenerate using Automake 1.6. Paul Eggert 2002-03-19 10:54:32 +00:00
  • 7bbd91208c (AUTOMAKE_OPTIONS): Remove. Paul Eggert 2002-03-19 10:50:32 +00:00
  • 078493afa4 (AUTOMAKE_OPTIONS): 1.6. Paul Eggert 2002-03-19 10:49:23 +00:00
  • 9651150243 Regen. Akim Demaille 2002-03-19 08:29:19 +00:00
  • 642cb8f829 Test and fix the #line outputs. * tests/atlocal.at (GCC): New. * tests/synclines.at (AT_TEST_SYNCLINE): New macro. (Prologue synch line, ,%union synch line, Postprologue synch line) (Action synch line, Epilogue synch line): New tests. * src/reader.c (parse_union_decl): Define the muscle stype_line. * data/bison.simple, data/bison.c++: Use it. Akim Demaille 2002-03-19 08:16:25 +00:00
  • 3c31a486e7 * tests/regression.at (%nonassoc and eof, Unresolved SR Conflicts) (Solved SR Conflicts, %expect not enough, %expect right) (%expect too much): Move to... * tests/conflicts.at: this new file. Akim Demaille 2002-03-19 08:10:21 +00:00
  • 0d8bed5636 * data/m4sugar/m4sugar.m4: Update from CVS Autoconf. * data/bison.simple, data/bison.c++: Handle the #define' part, so that we can move to enums for instance. * src/output.c (token_definitions_output): Output a list of token-name, token-number' instead of the #define. (output_skeleton): Name this list b4_tokens', not b4_tokendefs'. Akim Demaille 2002-03-19 07:48:47 +00:00
  • 01228b70de Regen. Akim Demaille 2002-03-19 07:45:46 +00:00
  • 897c1dd9a9 Fix the problem with union yyalloc and C++. Paul Eggert 2002-03-18 21:53:39 +00:00
  • a6624adaee (parse_union_decl): Define YYSTYPE_IS_TRIVIAL if we use our YYSTYPE. It must be trivial, or our own union wouldn't be valid C++ anyway. (readgram): Define YYSTYPE_IS_TRIVIAL if it is int. (reader_output_yylsp): Define YYLTYPE_IS_TRIVIAL if we use our YYLTYPE. Paul Eggert 2002-03-18 21:53:05 +00:00
  • 8afe2396ab (union yyalloc, YYSTACK_GAP_MAX, YYSTACK_BYTES, YYSTACK_RELOCATE): Do not define if yyoverflow is defined, or if this is a C++ parser and either YYSTYPE or YYLTYPE has nontrivial constructors or destructors. (yymemcpy) [! defined YYSTACK_RELOCATE]: Do not define; not needed. (yyparse) [! defined YYSTACK_RELOCATE]: Do not relocate the stack. Paul Eggert 2002-03-18 21:48:47 +00:00
  • 9208d17fa9 Use Gettext 0.11.1. Akim Demaille 2002-03-14 18:31:14 +00:00
  • d7be63a140 * src/files.c (compute_output_file_names): s/would be both named/ /would both be named/. Reported by Jim Meyering. * tests/output.at (Clashing Output Files): Adjust. Akim Demaille 2002-03-12 16:52:21 +00:00
  • b8fae6b493 1.34. Akim Demaille 2002-03-12 16:14:06 +00:00
  • 0d240c12ba Version 1.34. v1.34 Akim Demaille 2002-03-12 15:51:40 +00:00
  • eda67e575d Fix errors. Akim Demaille 2002-03-12 15:48:16 +00:00
  • b286091ee2 Update. Akim Demaille 2002-03-11 19:19:37 +00:00
  • af27eacb6a * data/bison.c++: Make the user able to add members to the generated parser by subclassing. Robert Anisko 2002-03-09 14:31:16 +00:00
  • e69bfebb45 Regen. Akim Demaille 2002-03-06 17:19:14 +00:00
  • bcae0fce72 THANKS Robert Anisko 2002-03-06 16:08:18 +00:00
  • 9101a31079 * src/reader.c (read_additionnal_code): `c' should be an integer, not a character. Reported by Nicolas Tisserand and Nicolas Burrus. Robert Anisko 2002-03-05 18:30:22 +00:00
  • 83eda11059 . Akim Demaille 2002-03-04 18:29:56 +00:00
  • d0f19d6f43 Version 1.33b. v1.33b Akim Demaille 2002-03-04 18:25:24 +00:00
  • f443a1eb89 Update. Akim Demaille 2002-03-04 18:21:08 +00:00
  • 4eeb7bc9a2 * tests/output.at (AT_CHECK_OUTPUT): Another test, making sure bison fails when trying to output a parser and a header under the same name. * src/files.c (compute_output_file_names): Refuse when parser and header have the same name. Akim Demaille 2002-03-04 18:06:42 +00:00
  • c3937ec780 Remove Id line. Akim Demaille 2002-03-04 17:05:26 +00:00
  • fff9bf0b8d * src/reader.c: Warn about lacking semi-colons, do not complain. Robert Anisko 2002-03-04 17:03:49 +00:00
  • 5d08b24fba * src/reader.c (readgram): A missing `;' is a warning, not an error! Akim Demaille 2002-03-04 17:00:45 +00:00
  • 64dba31e7f * data/bison.c++: Remove a debug line. Robert Anisko 2002-03-04 16:48:33 +00:00
  • c1a29a5b2d Regen. Akim Demaille 2002-03-04 16:45:18 +00:00
  • 374f5a14de * data/bison.c++: Unmerge value as yylval and value as yyval. Unmerge location as yylloc and location as yyloc. Use YYLLOC_DEFAULT, and provide a default implementation. Robert Anisko 2002-03-04 16:37:52 +00:00
  • bfcf1f3af0 * tests/input.at (Invalid $n, Invalid @n): Add the ending `;'. * tests/output.at (AT_CHECK_OUTPUT): Likewise. * tests/headers.at (AT_TEST_CPP_GUARD_H): Ditto. * tests/semantic.at (Parsing Guards): Similarly. * src/reader.at (readgram): Complain if the last rule is not ended with a semi-colon. Akim Demaille 2002-03-04 16:23:35 +00:00
  • 3af141b0e3 Regen. Akim Demaille 2002-03-04 16:21:52 +00:00
  • bae3c8d209 * tests/sets.at (Broken Closure): Add the ending `;'. * tests/input.at (Invalid $n, Invalid @n): Likewise. * tests/output.at (AT_CHECK_OUTPUT): Likewise. * src/reader.at (readgram): Complain if a rule is not ended with a semi-colon. Akim Demaille 2002-03-04 14:57:46 +00:00
  • 65ccf9fc1d * src/warshall.h, src/warshall.c (bitmatrix_print): Move to... * src/closure.c: here. (set_firsts): Use bitsetv_reflexive_transitive_closure instead of RTC. * src/warshall.h, src/warshall.c: Remove. * tests/sets.at (Broken Closure): Adjust. Akim Demaille 2002-03-04 14:29:27 +00:00
  • d0039cbcf8 * src/output.c (output_skeleton): tempdir is const. bytes_read is unused. Akim Demaille 2002-03-04 14:17:30 +00:00
  • 345cea780a * lib/bbitset.h, lib/bitset.c, lib/bitset.h, lib/bitsetv.c, * lib/bitsetv.h, lib/ebitset.c, lib/lbitset.c, lib/sbitset.c: Update. From Michael Hayes. Akim Demaille 2002-03-04 14:15:01 +00:00
  • 564801f795 * src/closure.c (closure): `r' is unused. Akim Demaille 2002-03-04 14:13:12 +00:00
  • b23e820381 Regen. Akim Demaille 2002-03-04 14:04:09 +00:00
  • e5352bc7bf * tests/sets.at (Broken Closure): Add the ending `;'. * src/reader.at (readgram): Complain if a rule is not ended with a semi-colon. Akim Demaille 2002-03-04 13:58:20 +00:00
  • 914feea9d0 * src/conflicts.c (set_conflicts): Use bitset_disjoint_p. (count_sr_conflicts): Use bitset_count. * src/reduce.c (inaccessable_symbols): Ditto. (bits_size): Remove. * src/warshall.h, src/warshall.c: Convert to bitsetv. Akim Demaille 2002-03-04 13:58:05 +00:00
  • f0250de62e * src/closure.c, src/conflicts.c, src/lalr.c, src/print.c, * src/reduce.c: Remove the bitset_zero's following the bitset_create's, as now it is performed by the latter. Akim Demaille 2002-03-04 13:56:41 +00:00
  • ef01750240 * lib/bitset.c, lib/bitset.h, lib/bitsetv.c, lib/bitsetv.h, * lib/ebitset.c, lib/ebitset.h, lib/lbitset.c, lib/lbitset.h, * lib/sbitset.c, lib/sbitset.h, lib/bbitset.h: Update from the latest sources from Michael. Akim Demaille 2002-03-04 12:07:08 +00:00
  • 7651439487 * src/output.c (output): Don't free the grammar. * src/reader.c (grammar_free): New. * src/main.c (main): Call it and don't free symtab here. Akim Demaille 2002-03-04 12:06:42 +00:00
  • 550245801e * src/lex.c (parse_percent_token): Be sure to 0-end token_buffer before returning. Reported by Benoit Perrot. Akim Demaille 2002-03-04 12:06:07 +00:00
  • f9abaa2c4c Use bitset operations when possible, not loops over bits. * src/conflicts.c (set_conflicts, count_sr_conflicts): Use bitset_or. * src/print.c (print_reductions): Use bitset_and, bitset_andn. * src/reduce.c (useless_nonterminals): Formatting changes. * src/warshall.c (TC): Use bitset_or. Akim Demaille 2002-03-04 12:05:30 +00:00
  • 0e721e7569 * src/lalr.h, src/lalr.c (tokensetsize): Remove, unused. * src/system.h (BITS_PER_WORD, WORDSIZE, SETBIT, RESETBIT, BITISSET): Ditto. Akim Demaille 2002-03-04 12:05:15 +00:00
  • 0fb1ffb1bf * src/lalr.c (F): Now a bitset*. Adjust all dependencies. Akim Demaille 2002-03-04 12:04:47 +00:00
  • b86796bf87 * src/conflicts.c (shiftset, lookaheadset): Now bitset. Adjust all dependencies. Akim Demaille 2002-03-04 12:04:33 +00:00
  • 602bbf31c1 * src/L0.c, src/LR0.h (nstates): Be size_t. Adjust comparisons (signed vs unsigned). * src/conflics.c, src/lalr.c, src/lalr.h, src/output.c (LA): Now a bitset*. Adjust all dependencies. Akim Demaille 2002-03-04 12:03:36 +00:00
  • d8a0245ce7 * src/closure.c (firsts): Now, also a bitset. Adjust all dependencies. (varsetsize): Remove, now unused. * src/warshall.h, src/warshall.c: Now work on arrays of bitsets. Akim Demaille 2002-03-04 12:03:01 +00:00
  • 34ba97434f * src/print.c: Convert to use bitset.h, not hand coded iterations over ints. Akim Demaille 2002-03-04 12:02:16 +00:00
  • ed86e78c90 * src/reduce.c: Convert to use bitset.h, not hand coded BSet. Akim Demaille 2002-03-04 12:01:44 +00:00
  • dfdb1797c3 * src/closure.c (ruleset): Be a bitset. (rulesetsize): Remove. Akim Demaille 2002-03-04 11:59:18 +00:00
  • 7086e7071e * lib/bitset-int.h, lib/bitset.c, lib/bitset.h, lib/bitsetv.c, * lib/bitsetv.h, lib/ebitset.c, lib/ebitset.h, lib/lbitset.c, * lib/lbitset.h, lib/sbitset.c, lib/sbitset.h: New. * src/closure.c (fderives): Be an array of bitsets. Akim Demaille 2002-03-04 11:58:52 +00:00
  • 6f8dd2075e * tests/Makefile.am (check_SCRIPTS): New. Akim Demaille 2002-02-28 15:47:55 +00:00
  • 5327d634b3 . Akim Demaille 2002-02-28 15:20:49 +00:00
  • 3491db2e44 Regen. v1.33a Akim Demaille 2002-02-28 15:16:44 +00:00
  • 9fef6a2a0b Version 1.33a. Akim Demaille 2002-02-28 15:12:19 +00:00
  • fe24ffa45a Update. Akim Demaille 2002-02-28 15:11:44 +00:00
  • 98254360e3 * data/bison.c++: Merge the two generated headers. Insert a copyright notice in each output file. Robert Anisko 2002-02-28 14:56:33 +00:00
  • a75c057f10 * data/bison.c++: Copy the prologue of bison.simple to fetch useful M4 definitions, such as b4_header_guard. Akim Demaille 2002-02-28 11:41:00 +00:00
  • 28f490e38d * src/bison.simple (yydebug): Fix the comment. From Bruce Lilly. Akim Demaille 2002-02-25 18:02:06 +00:00
  • dc2546ac9f Sync. Akim Demaille 2002-02-25 17:56:15 +00:00
  • ad950f8307 Regen. Akim Demaille 2002-02-25 14:55:38 +00:00
  • 2794679661 New. Akim Demaille 2002-02-25 14:27:12 +00:00
  • 06b00abcdd * src/getargs.c (version): Give the name of the authors, and use a translator friendly scheme for the copyright notice. Akim Demaille 2002-02-25 14:26:28 +00:00
  • 70e7d534a9 * src/output.c (header_output): Remove, now handled completely via M4. Akim Demaille 2002-02-25 14:06:53 +00:00
  • 0b3551fbee Really add it. Akim Demaille 2002-02-25 14:01:26 +00:00
  • abe017f60d * m4/m4.m4: New, from CVS Autoconf. * configure.in: Invoke it. * src/output.c (output_skeleton): Use its result instead of the hard coded name. Akim Demaille 2002-02-25 14:00:57 +00:00
  • 381fb12e1e * lib/tempname.c, lib/mkstemp.c, m4/mkstemp.m4: New, stolen from Fileutils 4.1.5. * configure.in: Invoke UTILS_FUNC_MKSTEMP. * src/output.c (output_skeleton): Use mkstemp to create a real temporary file. Move the filling of `skeleton' and its muscle to... (prepare): here. (output): Move the definition of the prologue muscle to... (prepare): here. * src/system.h (DEFAULT_TMPDIR): New. Akim Demaille 2002-02-25 13:44:43 +00:00
  • 10b6b2be55 Regen. Akim Demaille 2002-02-25 13:44:36 +00:00
  • 48dccdf81a DJGPP spicific: NULL pointer fix Juan Manuel Guerrero 2002-02-21 12:13:50 +00:00
  • 6f38107f80 Remove the support for C++ namespace cleanliness; it was causing more problems than it was curing, since it didn't work properly on some nonstandard C++ compilers. This can wait for a proper C++ parser. Paul Eggert 2002-02-14 20:29:31 +00:00
  • 0179dd6542 Revert the C++ namespace changes introduced in 1.31, as they caused too many portability hassles. Paul Eggert 2002-02-14 20:28:37 +00:00
  • 45119af166 (YYSTD): Remove. (YYSIZE_T, YYFPRINTF, YYPARSE_PARAM_ARG, YYPARSE_PARAM_DECL): Treat C++ just like Standard C instead of trying to support namespace cleanliness. Paul Eggert 2002-02-14 20:27:45 +00:00
  • e4e1a4dcb4 (Bison Parser, Debugging): Remove special mention of C++, as it's treated like C now. Paul Eggert 2002-02-14 20:26:54 +00:00
  • 039e51a37c Remove the support for C++ namespace cleanliness; it was causing more problems than it was curing, since it didn't work properly on some nonstandard C++ compilers. This can wait for a proper C++ parser. Paul Eggert 2002-02-14 20:17:53 +00:00
  • 20b9de21c7 Revert the C++ namespace changes introduced in 1.31. Paul Eggert 2002-02-14 20:16:29 +00:00
  • 26ae304aa6 (YYSTD): Remove. (YYSIZE_T, YYFPRINTF, YYPARSE_PARAM_ARG, YYPARSE_PARAM_DECL): Treat C++ just like Standard C instead of trying to support namespace cleanliness. Paul Eggert 2002-02-14 20:10:54 +00:00
  • 2d0bf7bdd5 (Bison Parser, Debugging): Remove special mention of C++, as it's treated like C now. Paul Eggert 2002-02-14 20:09:29 +00:00
  • e1fe241dc8 * tests/regression.at (else): Adjust to Andreas' change. Akim Demaille 2002-02-14 12:37:44 +00:00
  • 80cce3da95 * tests/regression.at (else): Adjust to Andreas' change. Akim Demaille 2002-02-14 12:35:32 +00:00
  • 842e86794f * lib/Makefile.am (EXTRA_DIST): Ship strnlen.c. Akim Demaille 2002-02-14 11:51:42 +00:00
  • 3309b786a3 Regen. Akim Demaille 2002-02-14 11:51:36 +00:00
  • 4bda3f10ca * src/output.c (output_rule_data): Don't output NULL, it might not be defined yet. Akim Demaille 2002-02-13 18:35:03 +00:00
  • e334b4a99b * src/output.c (output_rule_data): Don't output NULL, it might not be defined yet. Akim Demaille 2002-02-13 18:34:59 +00:00
  • 1bb14a172a Typo. Akim Demaille 2002-02-13 18:34:40 +00:00
  • cc20bc3166 DJGPP support added Juan Manuel Guerrero 2002-02-13 16:13:31 +00:00