summaryrefslogtreecommitdiff
path: root/THANKS
Commit message (Collapse)AuthorAgeFilesLines
* yacc: fix YYBACKUP.Akim Demaille2012-01-261-0/+1
| | | | | | | | | | | | | | | | | Reported by David Kastrup: https://lists.gnu.org/archive/html/bug-bison/2011-10/msg00002.html. * data/yacc.c (YYBACKUP): Accept rhs size. Restore the proper state value. * TODO (YYBACKUP): Make it... * tests/actions.at: a new test case. * NEWS, THANKS: Update. (cherry picked from commit d115aad9112fb4e2fe1b268c9db7390732d39539) Conflicts: TODO data/yacc.c
* maint: update THANKS.Akim Demaille2012-01-261-1/+1
| | | | | * THANKS: Update Tys's address, on his request. (cherry picked from commit 93ebddb11f3aca5aeb7d2337c6b54a652f08384f)
* build: avoid possibly-replaced fprintf in liby-source, yyerror.cJim Meyering2012-01-251-0/+1
| | | | | | | | | | | | * lib/yyerror.c (yyerror): Use fputs and fputc rather than fprintf with a mere "%s\n" format. Always return 0 now, on the assumption that the return value was never used anyway. Don't include <config.h> after all. This avoids a problem reported by Thiru Ramakrishnan in http://lists.gnu.org/archive/html/help-bison/2011-11/msg00000.html * cfg.mk: Exempt lib/yyerror.c from the sc_require_config_h_first test. * THANKS: Update. (cherry picked from commit fb9eea88856d73a5f25295a52f6d4df7fabc565b)
* scanner: fix typo.Akim Demaille2012-01-111-0/+1
| | | | | * src/scan-skel.l (@`): s/emtpy/empty/. Reported by Tim Landscheidt.
* tests: fix empty unions.Joel E. Denny2011-08-211-0/+1
| | | | | | | | | | | Empty unions are not accepted by the ISO C99 grammar or by at least some versions of Sun Studio. Reported by Wolfgang S. Kechel at <http://lists.gnu.org/archive/html/bug-bison/2011-08/msg00003.html>. * NEWS (2.5.1): Document fix. * THANKS (Wolfgang S. Kechel): Add. * tests/existing.at (GNU Cim Grammar) (GNU pic (Groff 1.18.1) Grammar.): Remove empty %union.
* build: avoid YACC typo inherited from Autoconf.Joel E. Denny2011-07-101-0/+1
| | | | | | | | | | | The typo shows up in the `configure --help' output. Reported by W.C.A. Wijngaards and Paul Eggert at <http://lists.gnu.org/archive/html/bug-bison/2011-07/msg00000.html>. * README-hacking (Release Procedure): Remind about updating maintainer tools before a release. * THANKS (W.C.A. Wijngaards): Add. * configure.ac (AC_PREREQ): Set to 2.68, which fixes the YACC typo.
* Add -Wother so -Wnone suppresses all warnings.Joel E. Denny2011-04-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by George Neuner at <http://lists.gnu.org/archive/html/bug-bison/2010-08/msg00002.html>. * NEWS (2.5): Document. * THANKS (George Neuner): Add. * doc/bison.texinfo (Bison Options): Document. * src/complain.c, src/complain.h (warn_at, warn_at_indent, warn): Suppress warning if -Wno-other. (midrule_value_at): New warning function, similar to yacc_at in that it's controlled by its own warning category. * src/getargs.c (warnings_flag): Initialize to warnings_other. (warnings_args, warnings_types): Add entry for warnings_other. (usage): Update. * src/getargs.h (enum warnings): Add entry for warnings_other. * src/gram.c (grammar_rules_useless_report): If -Wno-other, then don't print useless rules. * src/reader.c (symbol_should_be_used): Rather than adjusting the return value based on whether midrule value warnings are enabled, accept a new parameter for telling the caller whether true is being returned for a potential midrule warning. (grammar_rule_check): Use midrule_value_at for midrule value warnings, and continue to use warn_at for all other warnings. Let them check whether the warnings are enabled. * tests/local.at (AT_BISON_CHECK): Update documentation. (AT_BISON_CHECK_NO_XML): Check that -Wnone and --warnings=none disable all warnings exercised in the test suite.
* named references: fix double free.Akim Demaille2011-03-091-1/+1
| | | | | | | | | | | | | | | In `rhs[name]: "a" | "b"', do not free "name" twice. Reported by Tys Lefering. <http://lists.gnu.org/archive/html/bug-bison/2010-06/msg00002.html> * src/named-ref.h, src/named-ref.c (named_ref_copy): New. * src/parse-gram.y (current_lhs): Rename as... (current_lhs_symbol): this. (current_lhs): New function. Use it to free the current lhs named reference. * src/reader.c: Bind lhs to a copy of the current named reference. * src/symlist.c: Rely on free (0) being valid. * tests/named-refs.at: Test this.
* java: fix parser stack popping bug.Angelo Borsotti2011-03-061-0/+1
| | | | | | | | | Reported at <http://lists.gnu.org/archive/html/bug-bison/2011-02/msg00005.html>. * THANKS (Angelo Borsotti): Add. * data/lalr1.java (YYParser::YYStack::pop): Fix off-by-one error in clearing the value stack. Previously, the top element of the stack wasn't cleared and so the value was not garbage collected.
* java: fix location handling bug.Bernd Kiefer2011-02-191-0/+1
| | | | | | | | Reported at <http://lists.gnu.org/archive/html/bison-patches/2011-02/msg00005.html>. * data/lalr1.java (YYParser::yylloc): For non-empty RHS, fix reversed access to location stack. * THANKS (Bernd Kiefer): Add.
* Correct my email address.Joel E. Denny2011-01-021-1/+1
| | | | | | | | | | * ChangeLog: In all recent entries. * THANKS (Joel E. Denny): Here. (cherry picked from commit 1eb6350451be28c3bec08b21711eb6b1cdd6143f) Conflicts: ChangeLog
* doc: fix lalr1.cc documentation.Akim Demaille2010-05-101-0/+1
| | | | | | | | | | | | | * doc/bison.texinfo (C++ Scanner Interface): Fix yylex signature. (C++ Bison Interface): Fix lalr1.cc skeleton name. (C++ Parser Interface): Fix semantic_type and location_type names. Document yy::parser::token. Reported by Jerry Quinn. (cherry picked from commit 0100cd629d91e3e799b9feb7182965ff348ba61c) Conflicts: doc/bison.texinfo
* tests: fix for newer Sun Studio C++.Joel E. Denny2010-04-101-0/+1
| | | | | | | | | | | Reported by Dagobert Michelsen at <http://lists.gnu.org/archive/html/bug-bison/2010-03/msg00023.html>. * THANKS (Dagobert Michelsen): Add. * configure.ac (AC_PREREQ): Set to 2.64 so we get the latest Autoconf macro for handling the restrict keyword. * gnulib: Update to latest, which no longer overrides that macro from Autoconf. (cherry picked from commit 4333ba11c65f428040d54820b6d4c6aa663944d2)
* portability: fix spawning on at least FreeBSD 8 and FreeBSD 9.Joel E. Denny2010-03-231-0/+1
| | | | | | | | | | | | | Reported by Johan van Selst at <http://lists.gnu.org/archive/html/bug-bison/2010-03/msg00014.html>. * NEWS (2.4.3): New. * THANKS (Johan van Selst): Add. * gnulib: Update to latest. (cherry picked from commit 311b2e56eaad952fc7908336e3aeb019dd8bf1ee) Conflicts: NEWS
* portability: fix several issues with M4 subprocess.Joel E. Denny2010-02-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | M4's output pipe was not being drained upon fatal errors during scan_skel. As a result, broken-pipe messages from M4 were seen on at least AIX, HP-UX, Solaris, and RHEL4, and this caused a failure in the test suite. The problem was that, on platforms where the default disposition for SIGPIPE is ignore instead of terminate, M4 sometimes saw fwrite fail with errno=EPIPE and then reported it. However, there's some sort of race condition, because the new test group occasionally succeeded. Reported by Albert Chin at <http://lists.gnu.org/archive/html/bug-bison/2010-02/msg00004.html>. There were also problems with the test suite livelocking on Tru64 5.1b. Reported by Didier Godefroy at <http://lists.gnu.org/archive/html/bug-bison/2009-05/msg00005.html>. Switching to create_pipe_bidi suggested by Akim Demaille. To attempt to solve both of these problems, switch to gnulib's create_pipe_bidi and register M4 process as a slave. Along the way, clean up file name conflict handling, which was affected by the broken-pipe problem before the switch. * NEWS (2.4.2): Document. * THANKS (Didier Godefroy): Add. * bootstrap.conf (gnulib_modules): Add pipe. * gnulib: Update to latest to make sure we have all the latest fixes. * lib/Makefile.am (libbison_a_SOURCES): Remove subpipe.h and subpipe.c. * po/POTFILES.in (lib/subpipe.c): Remove. * src/files.c (compute_output_file_names): Update invocations of output_file_name_check. (output_file_name_check): In the case that the grammar file would be overwritten, use complain instead of fatal, but replace the output file name with /dev/null. Use the /dev/null solution for the case of two conflicting output files as well because it seems safer in case Bison one day tries to open both files at the same time. * src/files.h (output_file_name_check): Update prototype. * src/output.c (output_skeleton): Use create_pipe_bidi and wait_subprocess. Assert that scan_skel completely drains the pipe. * src/scan-skel.l (at_directive_perform): Update output_file_name_check invocation. * tests/output.at (AT_CHECK_CONFLICTING_OUTPUT): Check that the grammar file actually isn't overwritten. (Conflicting output files: -o foo.y): Update expected output. * tests/skeletons.at (Fatal errors but M4 continues producing output): New test group. (cherry picked from commit 22cc8d813ee57c9631e527a31010ab138f9b7e06) Conflicts: NEWS bootstrap.conf lib/.cvsignore lib/.gitignore m4/.cvsignore m4/.gitignore src/output.c
* Thank the developer of the initial push parser implementation.Joel E. Denny2010-01-151-0/+1
| | | | | | This unfortunate oversight is several years old. * THANKS (Odd Arild Olsen): Add. (cherry picked from commit 326e5cf81eada2ebd9007fa5fe9903a27a8bd067)
* Document gcc -Wundef fix.Joel E. Denny2009-12-161-0/+1
| | | | | | * NEWS (2.4.2): Here. * THANKS (Jonathan Nieder): Add. (cherry picked from commit c938d650dbddd3d94b3543bab76e1afce99c409d)
* tests: skip tests of file names that platform does not support.Joel E. Denny2009-10-041-0/+1
| | | | | | | | | Reported by Michael Raskin at <http://lists.gnu.org/archive/html/bug-bison/2009-09/msg00001.html>. * THANKS (Michael Raskin): Add. * tests/output.at (AT_CHECK_OUTPUT_FILE_NAME): Fix. Cygwin used to fail at least for file names containing ":" or "\". (cherry picked from commit 2ceb8c617cac934b45f101ab44508d72239c894b)
* doc: %initial-action to initialize yylloc.Akim Demaille2009-08-191-0/+1
| | | | | | | | | Reported by Bill Allombert. * doc/bison.texinfo: Set fill-column to 76. (Location Type): Document the use of %initial-action to initialize yylloc. (cherry picked from commit d59e456dbf5d9747e2fe0c0539f2ec670ce6f9c4)
* build: lower gettext requirements.Akim Demaille2009-08-171-0/+1
| | | | | | | | | | | | | | | Bison was uselessly requiring the formatstring macros from gettext, which resulted in mo files not being installed on systems that perfectly supported Bison mo files. Lower the requirement. http://lists.gnu.org/archive/html/bug-bison/2009-08/msg00006.html * configure.ac: Require need-ngettext instead of need-formatstring-macros. Reported by Martin Jabocs. Suggested by Bruno Haible. * INSTALL: Restructure. (Internationalization): New. (cherry picked from commit b9e42bb439643b6b193ba44696c370bbb35d2ec0)
* doc: update README-hacking.Akim Demaille2009-03-261-0/+1
| | | | | * README-hacking: We now use git and git submodules. Reported by Ralf Wildenhues and Alexandre Duret-Lutz.
* Fix grep portability issues.Akim Demaille2009-01-081-1/+2
| | | | | | | | | | | | | Grep on Solaris does not support -q. Reported by Summum Bonum. * NEWS: Add a stub for 2.4.2. * THANKS: Add Summum Bonum. * tests/atlocal.in (EGREP): New. (CC, CXX, XSLTPROC): Make it possible to override them via envvars. * tests/java.at: Use $EGREP instead of egrep. Use AT_CHECK's ignore instead of grep's -q.
* Fix unexpanded macros in GLR defines file.Joel E. Denny2008-11-191-0/+1
| | | | | | | | | | | | | | | | | | | Reported by Csaba Raduly at <http://lists.gnu.org/archive/html/bug-bison/2008-11/msg00048.html>. * THANKS (Csaba Raduly): Add. * data/glr.c: Fix overquoting on b4_prefix for yylval and yylloc. * tests/calc.at (_AT_DATA_CALC_Y): If %defines is specified, generate lexer in a separate module that includes the defines file. (AT_CHECK_CALC): Use AT_FULL_COMPILE and request compilation of lexer source. * tests/local.at (_AT_BISON_OPTION_PUSHDEFS): Push AT_DEFINES_IF. Adjust AT_LOC and AT_VAL to use AT_NAME_PREFIX. (AT_BISON_OPTION_POPDEFS): Pop AT_DEFINES_IF. (AT_DATA_SOURCE_PROLOGUE): New. (AT_DATA_GRAMMAR_PROLOGUE): Use AT_DATA_SOURCE_PROLOGUE. (AT_DATA_SOURCE): New. (AT_FULL_COMPILE): New, copied from master branch and extended to support an additional output file.
* Fix user actions without a trailing semicolon.Joel E. Denny2008-11-041-0/+1
| | | | | | | | | Reported by Sergei Steshenko at <http://lists.gnu.org/archive/html/bug-bison/2008-11/msg00001.html>. * THANKS (Sergei Steshenko): Add. * src/scan-code.l (SC_RULE_ACTION): Fix it. * tests/regression.at (Fix user actions without a trailing semicolon): New test case.
* Fix yyerror_range for user-defined location type in C++.Joel E. Denny2008-10-181-0/+1
| | | | | | | Reported by Georg Sauthoff at <http://lists.gnu.org/archive/html/bug-bison/2008-08/msg00008.html>. * data/lalr1.cc (parse): Change type of yyerror_range to location_type. * THANKS (Georg Sauthoff): Add.
* small but important bugfixes for the Java skeletonPaolo Bonzini2008-10-091-0/+1
| | | | | | | | 2008-10-08 Di-an Jan <dianj@freeshell.org> (tiny change) Small but important bugfixes for the Java skeleton. * data/lalr1.java (yyerror): Change Location to b4_location_type. (yy_symbol_print): Call toString on yyvaluep.
* Fix untranslatable composition of sentences.Joel E. Denny2008-07-161-0/+1
| | | | | | | | | | | | Reported by Goran Uddeborg at <http://lists.gnu.org/archive/html/bug-bison/2008-06/msg00000.html>. * THANKS (Goran Uddeborg): Add. * src/reduce.c (reduce_print): Report the number of nonterminals and rules useless in the grammar in separate sentences. * tests/reduce.at (Useless Rules): Update output. (Reduced Automaton): Likewise. (Underivable Rules): Likewise. (Empty Language): Likewise.
* * THANKS: Add Eric Blake.Joel E. Denny2008-05-071-0/+1
|
* * THANKS: Update my email address.Juan Manuel Guerrero2008-02-061-1/+1
|
* * data/yacc.c (yyexhaustedlab): Define it when YYERROR_VERBOSE isJoel E. Denny2007-08-031-0/+1
| | | | | | | true since it's then always used regardless of whether yyoverflow is defined. Reported by Christian Burger at <http://lists.gnu.org/archive/html/bug-bison/2007-07/msg00031.html>. * THANKS: Add Christian Burger.
* Fix push parsing memory leak reported by Brandon Lucia atJoel E. Denny2007-07-281-0/+1
| | | | | | | | | | | <http://lists.gnu.org/archive/html/bug-bison/2007-07/msg00032.html>. * THANKS: Add Brandon Lucia. * data/push.c (yypstate_delete): Free the stack if it was reallocated but the parse never completed and thus freed it. * tests/Makefile.am (TESTSUITE_AT): Add push.at. * tests/testsuite.at: Include push.at. * test/push.at: New. (Push Parsing: Memory Leak for Early Deletion): New test case.
* * data/glr.c (yylval): As in yacc.c, don't extern in the header forJoel E. Denny2007-05-261-0/+1
| | | | | | the case of pure parsers. Reported by Frans Englich at <http://lists.gnu.org/archive/html/help-bison/2007-05/msg00018.html>. * THANKS: Add Frans Englich.
* Use ASCII for Sebastien Fricker's name.Paul Eggert2007-04-041-1/+1
|
* * doc/bison.texinfo (Destructor Decl): Fix typo reported by SebastianJoel E. Denny2007-03-101-0/+1
| | | | | | Setzer. (Java Differences): Fix some typos. * THANKS: Add Sebastian Setzer.
* Use YYFPRINTF instead of fprintf where appropriate. Reported byJoel E. Denny2007-02-241-0/+1
| | | | | | | | | Sébastien Fricker at <http://lists.gnu.org/archive/html/bug-bison/2007-02/msg00035.html>. * THANKS: Add Sébastien Fricker. * data/glr.c, data/push.c, data/yacc.c (yy_reduce_print): Implement. * doc/bison.texinfo (Tracing): Make it clearer that YYFPRINTF must accept a variable number of arguments.
* Credit Satya for the graphviz change.Paul Eggert2006-10-121-0/+1
|
* * THANKS: Add Paolo Bonzini and Bob Rossi.Paul Eggert2006-10-091-4/+6
|
* Add name for twlevo.Paul Eggert2006-06-151-1/+1
|
* * data/glr.c (yyreportTree): Make room in yystates for the stateJoel E. Denny2006-05-171-2/+3
| | | | | | | | | | | | preceding the RHS. This fixes the segmentation fault reported by Derek M. Jones in <http://lists.gnu.org/archive/html/help-bison/2006-05/msg00035.html>. (yyreportTree, yypdumpstack): Subtract 1 from yyrule before printing to the user. Reported for yyreportTree by Derek M. Jones later in the same thread. * THANKS: Add Derek M. Jones. Update my email address. Fix typo in Steve Murphy's name.
* * doc/bison.texinfo (C++ Bison Interface): Clarify the namingAkim Demaille2006-05-141-0/+1
| | | | | scheme. Reported by Steve Murphy.
* * examples/extexi: Enforce the precedence of concatenation overAkim Demaille2006-05-111-0/+1
| | | | | >>. Reported by tommy.nordgren@chello.se
* Complete ChangeLog.Akim Demaille2006-05-111-0/+1
|
* * src/scan-gram.l: Be robust to BRACED_CODE appearing before anyAkim Demaille2006-04-031-0/+1
| | | | | | rule. Reported by Mickael Labau. * tests/input.at (Torturing the Scanner): Test it.
* * src/scan-skel.l: Output the base name parts of the parser andAkim Demaille2005-10-131-0/+1
| | | | | | | | header file names. * tests/output.at (AT_CHECK_OUTPUT): Support subdirectorioes, and additional checks. Use this to exercise C++ outputs in subdirs. Reported by Oleg Smolsky.
* * data/glr.c (yyresolveValue): Fix redundant parse tree problemPaul Eggert2005-08-211-0/+1
| | | | | | | | | | 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.
* Add Anthony Heading, twlevo@xs4all.nl.Paul Eggert2005-07-221-0/+2
|
* Add Alexandre Duret-Lutz, Baron Schwartz, Frank Heckenbach, GuidoPaul Eggert2004-12-111-1/+8
| | | | | Trentalancia, Peter Fales, Troy A. Johnson, Vin Shelton. Change Paul Eggert's email address.
* * doc/bison.texinfo (How Can I Reset the Parser): More about startAkim Demaille2003-12-021-0/+1
| | | | | conditions. From Bruno Haible.
* Write a test the yycheck overrun reported by Andrew Suffield.Akim Demaille2003-03-021-0/+1
| | | | | | * tests/regression.at (_AT_DATA_DANCER_Y, AT_CHECK_DANCER): New. Use them to exercise yycheck overrun. Based on Andrew Suffield's grammar.
* Stick to ASCII for now.Paul Eggert2003-02-241-1/+1
|