Opened 4 years ago

Closed 4 years ago

#4753 closed task (fixed)

bison-3.7.4

Reported by: Bruce Dubbs Owned by: lfs-book
Priority: normal Milestone: 10.1
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

New point version.

Change History (2)

comment:1 by Bruce Dubbs, 4 years ago

  • Noteworthy changes in release 3.7.4 (2020-11-14) [stable]
  • Bug fixes
  • Bug fixes in yacc.c

In Yacc mode, all the tokens are defined twice: once as an enum, and then as a macro. YYEMPTY was missing its macro.

  • Bug fixes in lalr1.cc

The lalr1.cc skeleton used to emit internal assertions (using YY_ASSERT) even when the parse.assert %define variable is not enabled. It no longer does.

The private internal macro YY_ASSERT now obeys the api.prefix %define variable.

When there is a very large number of tokens, some assertions could be long enough to hit arbitrary limits in Visual C++. They have been rewritten to work around this limitation.

  • Changes

The YYBISON macro in generated "regular C parsers" (from the "yacc.c" skeleton) used to be defined to 1. It is now defined to the version of Bison as an integer (e.g., 30704 for version 3.7.4).

comment:2 by Bruce Dubbs, 4 years ago

Resolution: fixed
Status: newclosed

Fixed at revision 12060.

Note: See TracTickets for help on using tickets.