Akim Demaille e342c3beaf * data/glr.c (YYRHSLOC): Move its definition next to its uses.
Introduce another definition to address simple location arrays.
(yyGLRStack): New member: yyerror_range.
(yyrecoverSyntaxError, yyparse): Update it.
(yyrecoverSyntaxError): Use it when shifting the error token to
have an accurate range, equivalent to the one computed by both
yacc.c and lalr1.cc.
* tests/cxx-type.at (_AT_TEST_GLR_CXXTYPES): Change its yylex so
that column numbers start at column 0, as per GNU Coding
Standards, the others tests, and the doc.
(_AT_RESOLVED_GLR_OUTPUT_WITH_LOC, _AT_AMBIG_GLR_OUTPUT_WITH_LOC):
Adjust to the above change (first column is 0).
And adjust the location of the "<error>", now covering the whole
line.
2004-10-25 10:37:35 +00:00
2001-08-25 13:13:14 +00:00
2004-10-09 17:57:21 +00:00
2004-10-09 17:57:39 +00:00
2004-10-09 17:57:06 +00:00
1998-11-25 22:13:23 +00:00
2004-08-13 14:28:43 +00:00
2004-05-21 21:03:41 +00:00
2004-06-03 22:28:57 +00:00
1998-11-25 21:36:05 +00:00

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
No description provided
Readme 18 MiB
Languages
C 61%
M4 11.7%
C++ 11.3%
Shell 4.1%
XSLT 3.1%
Other 8.8%