Paul Eggert d8d3f94a99 Revamp to fix POSIX incompatibilities, to count columns correctly, and
to check for invalid inputs.

Use mbsnwidth to count columns correctly.  Account for tabs, too.
Include mbswidth.h.
(YY_USER_ACTION): Invoke extend_location rather than LOCATION_COLUMNS.
(extend_location): New function.
(YY_LINES): Remove.

Handle CRLF in C code rather than in Lex code.
(YY_INPUT): New macro.
(no_cr_read): New function.

Scan UCNs, even though we don't fully handle them yet.
(convert_ucn_to_byte): New function.

Handle backslash-newline correctly in C code.
(SC_LINE_COMMENT, SC_YACC_COMMENT): New states.
(eols, blanks): Remove.  YY_USER_ACTION now counts newlines etc.;
all uses changed.
(tag, splice): New EREs.  Do not allow NUL or newline in tags.
Use {splice} wherever C allows backslash-newline.
YY_STEP after space, newline, vertical-tab.
("/*"): BEGIN SC_YACC_COMMENT, not yy_push_state (SC_COMMENT).

(letter, id): Don't assume ASCII; e.g., spell out a-z.

({int}, handle_action_dollar, handle_action_at): Check for integer
overflow.

(YY_STEP): Omit trailing semicolon, so that it's more like C.

(<SC_ESCAPED_STRING,SC_ESCAPED_CHARACTER>): Allow \0 and \00
as well as \000.  Check for UCHAR_MAX, not 255.
Allow \x with an arbitrary positive number of digits, as in C.
Check for overflow here.
Allow \? and UCNs, for compatibility with C.

(handle_symbol_code_dollar): Use quote_n slot 1 to avoid collision
with quote slot used by complain_at.
2002-11-03 08:42:32 +00:00
.
2002-10-14 18:15:05 +00:00
2002-10-30 05:38:30 +00:00
2001-08-25 13:13:14 +00:00
2002-11-03 08:40:08 +00:00
2002-10-25 06:05:50 +00:00
2001-10-10 15:29:08 +00:00
1998-11-25 22:13:23 +00:00
2002-05-03 16:11:40 +00:00
2002-11-03 08:39:16 +00:00
2002-10-25 05:37:58 +00:00
2002-10-16 06:32:07 +00:00
2002-10-25 06:05:50 +00:00
2000-10-02 20:00:35 +00:00
2002-10-22 11:32:38 +00:00
1987-12-16 06:53:07 +00:00
1998-11-25 21:36:05 +00:00
2002-10-24 10:01:52 +00:00
2002-10-22 11:19:45 +00:00

This directory contains the Bison parser generator.

See the file INSTALL for compilation and installation instructions.
See the file doc/FAQ for frequently asked questions.

It was once true that, when installing Bison on Sequent (or Pyramid?)
systems, you had to be in the Berkeley universe.  This may no longer
be true; we have no way to tell.

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'.

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.

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.

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%