Commit Graph

  • 2a4647a32f * data/c.m4 (yydestruct, yysymprint): Use YYUSE instead of casting to void. * data/glr.c (YYUSE): New macro. (yyuserMerge, yyreportAmbiguity, yyreportSyntaxError): Use it instead of rolling our own. (YYLLOC_DEFAULT, YYCHK, YYDPRINTF, YY_SYMBOL_PRINT, YY_REDUCE_PRINT): (YYCHK1): Use /*CONSTCOND*/ to suppress lint warnings. * data/lalr1.cc (YYLLOC_DEFAULT, YY_SYMBOL_PRINT, YY_REDUCE_PRINT): (YY_STACK_PRINT): Use 'false' not '0'. (YYUSE): New macro. (yysymprint_, yydestruct_): Use it instead of rolling our own. * data/yacc.c (YYUSE): New macro. (YYCOPY, YYSTACK_RELOCATE, YYBACKUP, YYLLOC_DEFAULT): (YYDPRINTF, YY_SYMBOL_PRINT, YY_STACK_PRINT, YY_REDUCE_PRINT): (yyerrorlab): Use /*CONSTCOND*/ to suppress lint warnings. Paul Eggert 2005-10-06 07:17:21 +00:00
  • 74e543d21f Regenerate. Paul Eggert 2005-10-05 21:28:55 +00:00
  • 412e44aa0e * data/m4sugar/m4sugar.m4 (_m4_map): New macro. (m4_map, m4_map_sep): Use it. Handle the empty list correctly. Paul Eggert 2005-10-05 21:28:07 +00:00
  • 2888e8b946 Less ambiguous wording. Akim Demaille 2005-10-05 06:57:16 +00:00
  • 2f4f028d8b Undo the parts of the unlocked-I/O change that substituted putc or puts for printf. This might hurt performance a bit, but some people prefer the printf style. * data/c.m4 (yysymprint): Prefer printf to puts and putc. * data/glr.c (YYFPUTC, YYFPUTS, YYDPUTS): Remove. All uses replaced by YYFPRINTF and YYDPRINTF. * data/yacc.c: Likewise. * lib/bitset.c (bitset_print): Likewise. * lib/bitsetv.c (bitsetv_dump, debug-bitsetv): Prefer printf to putc and puts. * lib/lbitset.c (debug_lbitset): Likewise. * src/closure.c (print_firsts, print_fderives): Likewise. * src/gram.c (grammar_dump): Likewise. * src/lalr.c (look_ahead_tokens_print): Likewise. * src/output.c (escaped_output): Likewise. (user_actions_output): Break apart two printfs. * src/parse-gram.y (%printer): Prefer printf to putc and puts. * src/reduce.c (reduce_print): Likewise. * src/state.c (state_rule_look_ahead_tokens_print): Likewise. * src/system.h: Include unlocked-io.h rathe than stdio.h. Paul Eggert 2005-10-05 06:39:08 +00:00
  • 88c6637fa9 * data/glr.c (yyuserMerge, yyreportAmbiguity, yyreportSyntaxError): Use assignments rather than casts-to-void to suppress unused-variable warnings. This pacifies 'lint'. * data/lalr1.cc (yysymprint_, yydestruct_): Use a call to suppress unused-variable warnings. Paul Eggert 2005-10-05 06:05:22 +00:00
  • f8333ce5fd remove djgpp/CVS from EXTRA_DIST Juan Manuel Guerrero 2005-10-03 17:12:03 +00:00
  • c59929c351 Use name cxx.m4 instead of c++.m4 in data/location.cc Juan Manuel Guerrero 2005-10-03 05:35:57 +00:00
  • fb32e3730e DJGPP specific files added to EXTRA_DIST Juan Manuel Guerrero 2005-10-03 05:33:47 +00:00
  • 2aee5b7e1e Regenerate. Paul Eggert 2005-10-02 21:25:33 +00:00
  • fb9c0b3360 Use unlocked I/O for a minor performance improvement on hosts like GNU/Linux and Solaris that support unlocked I/O. The basic idea is to use the gnlib unlocked-io module, and to prefer putc and puts to printf when either will work (since the latter doesn't come in an unlocked flavor). * bootstrap (gnulib_modules): Add unlocked-io. * data/c.m4 (yysymprint): Prefer puts and putc to printf. * data/glr.c (YYFPUTC, YYFPUTS, YYDPUTS): New macros. Prefer them to YYFPRINTF and YYDPRINTF if either will do, and similarly for puts and putc and printf. * data/yacc.c: Likewise. * lib/bitset.c (bitset_print): Likewise. * lib/bitset.h [USE_UNLOCKED_IO]: Include unlocked-io.h. * lib/bitsetv.c (bitsetv_dump, debug-bitsetv): Prefer putc and puts to printf. * lib/lbitset.c (debug_lbitset): Likewise. * src/closure.c (print_firsts, print_fderives): Likewise. * src/gram.c (grammar_dump): Likewise. * src/lalr.c (look_ahead_tokens_print): Likewise. * src/output.c (escaped_output): Likewise. (user_actions_output): Coalesce two printfs. * src/parse-gram.h (%printer): Prefer putc and puts to printf. * src/reduce.c (reduce_print): Likewise. * src/state.c (state_rule_look_ahead_tokens_print): Likewise. * src/system.h: Include unlocked-io.h rathe than stdio.h. Paul Eggert 2005-10-02 21:24:12 +00:00
  • edb8f44f06 * data/lalr1.cc: Don't put an unmatched ' in a dnl comment, as this confuses xgettext. Paul Eggert 2005-10-02 20:41:42 +00:00
  • b50d2359d7 * bootstrap (gnulib_modules): Add strverscmp. * lib/.cvsignore: Add strverscmp.c, strverscmp.h. * m4/.cvsignore: Add strverscmp.m4. * src/parse-gram.y (%require): New token, new rule. (version_check): New. * src/scan-gram.l (%require): Adjust. * tests/input.at (AT_REQUIRE): New. Use it. * doc/bison.texinfo (Require Decl): New. (Calc++ Parser): Use %require. Akim Demaille 2005-10-02 18:49:15 +00:00
  • 21667f64cd * data/location.cc: New. Akim Demaille 2005-10-02 18:17:23 +00:00
  • 2b81e969ea Akim Demaille <akim@epita.fr> Make sure -odir/foo.cc creates dir/location.hh etc. * src/files.h (spec_outfile, parser_file_name, spec_name_prefix) (spec_file_prefix, spec_verbose_file, spec_graph_file) (spec_defines_file): Now const. (dir_prefix): New. (short_base_name): Remove. * src/files.c: Adjust. (dirname.h): Include. (base_name): Don't prototype it. (finput): Remove, duplicates gram_in. (full_base_name, short_base_name): Replace by... (all_but_ext, all_but_tab_ext): these. (compute_base_names): Rename as... (compute_file_name_parts): this. Update to compute the new variables, including dir_prefix. Adjust dependencies. * src/output.c (prepare): Output them. * src/reader.c: Adjust to use gram_in, not finput. * src/scan-skel.l (@dir_prefix@): New. Akim Demaille 2005-10-02 17:44:49 +00:00
  • ad6a9b97e2 DJGPP support added. Juan Manuel Guerrero 2005-10-02 17:00:30 +00:00
  • ec4d88f496 (output_skeleton): Use end_of_output_subpipe() to handle the lack of pipe/fork functionality on non-posix systems. Juan Manuel Guerrero 2005-10-02 16:59:42 +00:00
  • 3d86656c1d New function end_of_output_subpipe() added to allow support for non-posix systems. This is a no-op function for posix systems. Juan Manuel Guerrero 2005-10-02 16:59:31 +00:00
  • 3768a1ae18 DJGPP specific configuration file. Juan Manuel Guerrero 2005-10-02 16:35:14 +00:00
  • fc695704a1 * data/location.cc: New, extract from... * data/lalr1.cc: here. (location.hh): Include it after the user prologue, in case the filename type is defined by the user. Forward declation location and position before the pre-prologue. (yyresult_): Rename as... (yyresult): this, it's a local variable, not an attribute. * data/Makefile.am (dist_pkgdata_DATA): Adjust. Akim Demaille 2005-10-02 16:34:02 +00:00
  • 24dfa6ec84 DJGPP specific replacement file for lib/subpipe.h. Juan Manuel Guerrero 2005-10-02 16:15:22 +00:00
  • 6bebb37320 DJGPP specific replacement file for lib/subpipe.c. Juan Manuel Guerrero 2005-10-02 16:14:13 +00:00
  • cd72b08b23 DJGPP specific file. Juan Manuel Guerrero 2005-10-02 16:11:25 +00:00
  • 5215c87f14 * examples/extexi: Restore the #line generation. Akim Demaille 2005-10-01 07:20:32 +00:00
  • fb9712a962 Alexandre Duret-Lutz <adl@gnu.org> Move the token type and YYSTYPE in the parser class. * data/lalr1.cc (stack.hh, location.hh): Include earlier. (parser::token): New, from the moved free definition of tokens. (parser::semantic_value): Now a full definition instead of an indirection to YYSTYPE. (b4_post_prologue): No longer included in the header file, but in the implementation file. * doc/bison.texi (C+ Language Interface): Update. * src/parse-gram.y: Support unary %define. * tests/actions.at: Define global_tokens_and_yystype for backward compatibility until we update the tests. * tests/calc.at: Idem. (first_line, first_column, last_line, last_column): Define for lalr1.cc to simplify the code. Akim Demaille 2005-09-30 17:57:05 +00:00
  • 55f0c7b1f2 Port to SunOS 4.1.4, which lacks strtoul and strerror. * bootstrap (gnulib_modules): Add strerror, strtoul. * lib/.cvsignore: Add strerror.c, strtol.c, strtoul.c * m4/.cvsignore: Add strerror.m4, strtol.m4, strtoul.m4. Paul Eggert 2005-09-29 19:02:54 +00:00
  • d4fb5e3cb9 * 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_. Akim Demaille 2005-09-29 06:50:57 +00:00
  • 8a6f72f3d7 * 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'. Paul Eggert 2005-09-27 06:08:27 +00:00
  • ebc3737ebf * 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. Paul Eggert 2005-09-21 21:05:53 +00:00
  • 58b90cc2d8 Regenerate. Paul Eggert 2005-09-21 20:08:58 +00:00
  • 62c4328e00 Don't rely on whether alloc is #defined; that is in the user's name spac. Paul Eggert 2005-09-21 20:08:38 +00:00
  • 2fc90989b7 Regenerate. Paul Eggert 2005-09-21 19:54:58 +00:00
  • 0d50976f3c More alloca cleanups. Paul Eggert 2005-09-21 19:54:48 +00:00
  • ac2434287d Regenerate. Paul Eggert 2005-09-20 23:09:18 +00:00
  • 9069e5de23 Fix typo in previous patch: some operands of 'defined' weren't parenthesized. Paul Eggert 2005-09-20 23:08:03 +00:00
  • 552893661b * 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. Paul Eggert 2005-09-20 23:06:10 +00:00
  • a05b79dff9 * HACKING (release): Forwarn the Translation Project about stable releses. Paul Eggert 2005-09-20 17:44:20 +00:00
  • ddc65ffdd1 Forwarn the translation project. Paul Eggert 2005-09-20 17:42:48 +00:00
  • 3ab2ca2206 * data/glr.c: Use b4_token_enums, not b4_token_enums_defines. Akim Demaille 2005-09-20 07:57:15 +00:00
  • 2abdfeefce Regenerate. Paul Eggert 2005-09-20 06:07:30 +00:00
  • a702593e05 Add yysyntax_error to data/yacc.c. Paul Eggert 2005-09-20 06:07:07 +00:00
  • b4c1f9d2b6 (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. Paul Eggert 2005-09-20 06:06:42 +00:00
  • 8a2800e787 (Error Reporting, Table of Symbols): yynerrs is the number of errors reported, not the number of errors encountered. Paul Eggert 2005-09-20 06:01:50 +00:00
  • a9739e7c4c * 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. Paul Eggert 2005-09-19 21:08:21 +00:00
  • c7e8607f6b Add bison.html. Paul Eggert 2005-09-19 21:04:40 +00:00
  • f479c6c61e 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. Akim Demaille 2005-09-19 07:34:38 +00:00
  • e2586f82b0 * tests/atlocal.in (LIBS): Pass INTLLIBS to address failures on at least Mac OSX with a /usr/local install of gettext. Akim Demaille 2005-09-19 07:22:17 +00:00
  • 2e8cf949a5 * data/lalr1.cc (yyparse): Rename yylooka and yyilooka as yychar and yytoken for similarity with the other skeletons. Akim Demaille 2005-09-19 07:21:39 +00:00
  • c7fb0b9079 * NEWS, configure.ac: Bump to 2.1a. Akim Demaille 2005-09-19 07:08:00 +00:00
  • f5109f5af0 Regenerate. v2.1 Paul Eggert 2005-09-16 22:55:33 +00:00
  • 1bd0dedaaa * NEWS: Version 2.1. Paul Eggert 2005-09-16 22:54:21 +00:00
  • c1432f6538 * 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. Akim Demaille 2005-09-16 19:50:08 +00:00
  • cf147260d2 * 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. Akim Demaille 2005-09-16 19:26:40 +00:00
  • 3a73c9ae44 * 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. Akim Demaille 2005-09-16 19:03:54 +00:00
  • dbcdae2d04 * 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. Akim Demaille 2005-09-16 12:12:36 +00:00
  • 70d8f2910e * doc/bison.texinfo (Calc++ Parser): Don't promote defining YYEOF since it's in Bison's name space. Akim Demaille 2005-09-16 11:26:43 +00:00
  • d110145422 false -> yyfalse Paul Eggert 2005-09-15 18:02:03 +00:00
  • ae199bf10f * data/glr.c (yyresolveValue): Add default case to pacify gcc -Wswitch-default. Problem reported by twlevo@xs4all.nl. Paul Eggert 2005-09-15 14:16:54 +00:00
  • b47dbebee5 * NEWS: Document when yyparse started to return 2. * doc/bison.texinfo (Parser Function): Document when yyparse returns 2. Paul Eggert 2005-09-15 14:06:52 +00:00
  • 94306d5282 ($(calc_sources_generated)): Don't do anything if $@ exists. This reverts part of the 2005-07-07 patch. Paul Eggert 2005-09-14 22:10:50 +00:00
  • 00292f6611 *** empty log message *** Paul Eggert 2005-09-12 05:51:20 +00:00
  • c89b4c032c [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. Paul Eggert 2005-09-12 05:50:44 +00:00
  • d83a9c402c (EXTRA_DIST): Do not distribute REFERENCES; it contains obsolete information and isn't worth distributing as a separate file anyway. Paul Eggert 2005-09-12 05:50:10 +00:00
  • 55f64b82cd * data/c.m4 (b4_identification): Define YYBISON_VERSION. Suggested by twlevo@xs4all.nl. Paul Eggert 2005-09-09 23:12:09 +00:00
  • 127287e9c4 * data/glr.c (YYCHK1): Do not assume YYE is in range. This avoids a diagnostic from gcc -Wswitch-enum. Problem reported by twlevo@xs4all.nl. Paul Eggert 2005-09-09 22:59:46 +00:00
  • 48b16bbc04 * doc/bison.texinfo: Correct typos in previous fix. * data/glr.c: b4_filename -> b4_file_name. * data/lalr1.cc: Likewise. Also, b4_filename_type -> b4_file_name_type. All uses changed. (class position): filename -> file_name. All uses changed. * data/yacc.c: b4_filename -> b4_file_name. * lib/bitset.h: filename -> file_name in local vars. * lib/bitset_stats.c: Likewise. * src/files.c: Likewise. * src/scan-skel.l ("@output ".*\n): Likewise. * src/files.c (file_name_split): Renamed from filename_split. * src/muscle_tab.c (muscle_init): Output b4_file_name, not b4_filename. Paul Eggert 2005-09-09 22:42:15 +00:00
  • a420f9620e Log recent changes. Paul Eggert 2005-09-09 22:14:44 +00:00
  • fa4d969f11 Don't use "filename", as per GNU coding standards. Use "file name" or "file" or "name", depending on the context. (Invocation): The output of "bison hack/foo.y" goes to foo.tab.c, not to hack/foo.tab.c. (Calc++ Top Level): 2nd arg of main is not const. Paul Eggert 2005-09-09 22:14:28 +00:00
  • 326eb46f40 Add pipe-safer.c, stdio--.h, unistd--.h, to accommodate latest gnulib. Paul Eggert 2005-09-08 21:49:23 +00:00
  • 7812f29985 (Duplicate representation of merged trees): Add casts to pacify g++. Paul Eggert 2005-09-08 18:41:46 +00:00
  • 7e7b77c138 Undo previous change, then add comment as to why the AM_LANGINFO_CODESET hack is needed. Paul Eggert 2005-09-08 18:26:43 +00:00
  • 9d5b26c682 Remove AM_INTL_SUBDIR hack; no longer needed with recent versions of Automake. Paul Eggert 2005-09-08 18:01:54 +00:00
  • 42a6501d1a * data/glr.c (yydestroyGLRState): Renamed from yydestroyStackItem. All uses changed. Invoke user destructor after an error during a split parse (trivial change from Joel E. Denny). Paul Eggert 2005-08-26 20:16:16 +00:00
  • 5b4aaf787b * README-cvs: Give URLs for recommended tools. Mention Gzip version problem, and bootstrapping issues. Remove troubleshooting section, as it's somewhat obsolete. Paul Eggert 2005-08-25 19:06:24 +00:00
  • b5240ba555 * bootstrap (no_cache): New var, to accommodate different wget variants. Use it instead of '-C off'. Problem reported by twlevo@xs4all.nl. Paul Eggert 2005-08-25 18:49:57 +00:00
  • ef9a1fafaf yydestroyStackItem. Paul Eggert 2005-08-25 17:58:19 +00:00
  • a4cf101a98 (yydestroyStackItem): New function. (yyrecoverSyntaxError, yyreturn): Use it to improve quality of debugging information. Problem reported by Joel E. Denny. Paul Eggert 2005-08-25 17:57:23 +00:00
  • e6efa9dacc * tests/local.at (AT_COMPILE_CXX): Pass $LINKS too. Akim Demaille 2005-08-25 08:53:33 +00:00
  • adc90f13ab * data/glr.c (yyrecoverSyntaxError, yyreturn): Don't invoke destructor on unresolved entries. * tests/glr-regression.at (User destructor for unresolved GLR semantic value): New test case. Problem reported by Joel E. Denny in: http://lists.gnu.org/archive/html/bison-patches/2005-08/msg00016.html Paul Eggert 2005-08-25 06:11:35 +00:00
  • 15d29c1ffe * lib/.cvsignore: Remove realloc.c, strncasecmp.c, xstrdup.c. Add strnlen.c. * m4/.cvsignore: Remove codeset.m4, gettext.m4, lib-ld.m4, lib-prefix.m4, po.m4. Paul Eggert 2005-08-22 06:38:59 +00:00
  • 6250acbdb1 Fix typo in name of lalr1.cc. Paul Eggert 2005-08-22 06:33:38 +00:00
  • ec5d1a8a24 Regenerate. Paul Eggert 2005-08-22 02:33:18 +00:00
  • dd5f2af2bd * data/glr.c (yyreturn): Use "Cleanup:" rather than "Error:" in yydestruct diagnostic, since it might not be an error. Problem reported by Joel Denny near end of <http://lists.gnu.org/archive/html/help-bison/2005-07/msg00040.html>. * data/lalr1cc (yyerturn): Likewise. * data/yacc.c (yyreturn): Likewise. * tests/calc.at (_AT_CHECK_CALC_ERROR): Adjust to the above change. Paul Eggert 2005-08-22 02:31:10 +00:00
  • eab522e49a Remove obsolete FIXME. Paul Eggert 2005-08-22 01:28:07 +00:00
  • fe3816515c (YY_SYMBOL_PRINT): Append a newline, for consistency with the other templates, and to fix bogus run-on messages such as the one reported at the end of <http://lists.gnu.org/archive/html/help-bison/2005-07/msg00040.html>. All callers changed to avoid the newline. (yyprocessOneStack): Output two lines rather than one, to accommodate the above change. This changes the debug output format slightly. Paul Eggert 2005-08-22 01:05:52 +00:00
  • 19e251af0f Regenerate. Paul Eggert 2005-08-22 00:11:30 +00:00
  • f9315de5a4 * data/glr.c (yyresolveValue): Fix redundant parse tree problem reported by Joel E. Denny in <http://lists.gnu.org/archive/html/bison-patches/2005-08/msg00004.html> (trivial change). * tests/glr-regression.at (Duplicate representation of merged trees): New test, from Joel E. Denny in: <http://lists.gnu.org/archive/html/help-bison/2005-07/msg00013.html>. * THANKS: Add Joel E. Denny. Paul Eggert 2005-08-21 23:43:56 +00:00
  • 1fb38e78c2 (AC_INIT): Bump to 2.0c. Paul Eggert 2005-08-21 22:39:21 +00:00
  • ca5d201376 * Makefile.am (SUBDIRS): Put examples before tests, so that "make check" doesn't finish with "All 1 tests passed". Paul Eggert 2005-07-25 06:45:32 +00:00
  • 3d54b57635 * tests/regression.at (Token definitions): Don't rely on AT_PARSER_CHECK for data that contains backslashes. It currently uses 'echo', and 'echo' isn't portable if its argument contains backslashes. Problem found on OpenBSD 3.4. Also, do not assume that the byte '\0xff' is not printable in the C locale; it is, under OpenBSD 3.4 (!). Luckily, '\0x80' through '\0x9e' are not printable, so use '\0x81' to test. Paul Eggert 2005-07-25 06:36:13 +00:00
  • d53ae497dc * data/glr.c (YYOPTIONAL_LOC): Define even if it's not a recent version of GCC, since the macro is used with non-GCC compilers. Paul Eggert 2005-07-25 04:20:55 +00:00
  • 3bc00d6c4b (YYOPTIONAL_LOC): Define even if it's not a recent version of GCC, since the macro is used with non-GCC compilers. Paul Eggert 2005-07-25 04:20:39 +00:00
  • e0045d49b6 Regenerate. Paul Eggert 2005-07-25 03:41:34 +00:00
  • fc01665ea5 Fix core dump reported by Pablo De Napoli in <http://lists.gnu.org/archive/html/bug-bison/2005-07/msg00053.html>. * tests/regression.at (Invalid inputs with {}): New test. * src/parse-gram.y (token_name): Translate type before using it as an index. Paul Eggert 2005-07-25 03:38:42 +00:00
  • 57beea5776 Update copyright. Paul Eggert 2005-07-25 03:12:53 +00:00
  • 5f3df3960e Regenerate. Paul Eggert 2005-07-24 07:26:45 +00:00
  • 040984073a * NEWS: Version 2.0b. Paul Eggert 2005-07-24 07:24:22 +00:00
  • 135bc829bd (ATTRIBUTE_UNUSED): Remove, since it infringes on the user's name space. All uses changed to __attribute__ ((__unused__)). (yyFail, yyMemoryExhausted, yyreportAmbiguity): Add __attribute__ ((__noreturn__)). Paul Eggert 2005-07-24 07:17:06 +00:00
  • f938a7e7b8 (message): Don't print a message more than once, and omit line-number decoration that makes Emacs compile think that informative messages are worth worrying about. Paul Eggert 2005-07-23 17:06:41 +00:00
  • f38b17c9bf (SUBDIRS): Add examples; somehow this got removed accidentally. Paul Eggert 2005-07-22 23:02:50 +00:00