Opened 7 years ago

Closed 7 years ago

#4284 closed task (fixed)

bison-3.0.5

Reported by: bdubbs@… Owned by: lfs-book
Priority: normal Milestone: 8.3
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

New point version.

Attachments (1)

bison.patch (644 bytes ) - added by Anton Maisak 7 years ago.
packages.ent patch.

Download all attachments as: .zip

Change History (3)

by Anton Maisak, 7 years ago

Attachment: bison.patch added

packages.ent patch.

comment:1 by bdubbs@…, 7 years ago

GNU Bison NEWS

  • Noteworthy changes in release 3.0.5 (2018-05-27) [stable]

Bug fixes

* C++: Fix support of 'syntax_error'

One incorrect 'inline' resulted in linking errors about the constructor of the syntax_error exception.

* C++: Fix warnings

GCC 7.3 (with -O1 or -O2 but not -O0 or -O3) issued null-dereference warnings about yyformat being possibly null. It also warned about the deprecated implicit definition of copy constructors when there's a user-defined (copy) assignment operator.

* Location of errors

In C++ parsers, out-of-bounds errors can happen when a rule with an empty ride-hand side raises a syntax error. The behavior of the default parser (yacc.c) in such a condition was undefined.

Now all the parsers match the behavior of glr.c: @$ is used as the location of the error. This handles gracefully rules with and without rhs.

* Portability fixes in the test suite

On some platforms, some Java and/or C++ tests were failing.

comment:2 by bdubbs@…, 7 years ago

Resolution: fixed
Status: newclosed

Fixed at revision 11418.

Note: See TracTickets for help on using tickets.