mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
b4a2033855c7d7838f8e079c0656d4e91bbb6361
whether the reducion was empty or not. This leaves room to improve the use of YYLLOC_DEFAULT in such a case. lalr1.cc is still experimental, so changing this is acceptable. And finally, there are probably not many users who changed the handling of locations in GLR, so changing is admissible too. * data/glr.c, data/lalr1.cc, data/yacc.c (YYLLOC_DEFAULT): On an empty reduction, set @$ to an empty location ending the previously stacked symbol. Adjust uses to make sure the code is triggered on empty reductions. * tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Adjust the expected output: empty reductions have empty locations.
This directory contains the Bison parser generator. See the file INSTALL for generic compilation and installation instructions. See the file doc/FAQ for frequently asked questions. Bison requires GNU m4 1.4 or later. Vanilla GNU m4 1.4 has some serious bugs, so we recommend using m4 1.4 as patched by the standard GNU/Linux distributions. If you're building GNU m4 1.4 from scratch we suggest using this version: ftp://alpha.gnu.org/gnu/bison/m4-1.4.1.tar.gz Older versions of Sun Forte Developer 6 update 2 have a compiler bug that cause "make check" to fail with a "Encounter BINCL entry" diagnostic. To fix the bug, update to the latest set of Solaris and Forte patches recommended by Sun. VMS and MS-DOS builds are probably broken right now. If you are able to build Bison on either platform and you need to make changes to do so, please submit those changes as a bug report. On VMS, you will probably have to create Makefile from Makefile.in by hand. Remember to do `SET COMMAND BISON' to install the data in `BISON.CLD'. Send bug reports to <bug-bison@gnu.org>. Please include the version number from `bison --version', and a complete, self-contained test case in each bug report. If you have questions about using Bison which the documentation does not answer, send mail to <help-bison@gnu.org>. ----- Copyright (C) 1992, 1998, 1999, 2003, 2004 Free Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. Bison is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. Bison is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with autoconf; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Description
Languages
C
61%
M4
11.7%
C++
11.3%
Shell
4.1%
XSLT
3.1%
Other
8.8%