mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
Merge branch 'maint'
* origin/maint: tests: check %no-lines tests: minor simplification graphs: stylistic changes. graphs: minor style changes graphs: show reductions graphs: style: prefix state number with "state" graphs: style: use left justification for states graphs: style: prefix rules and change shapes obstack: import obstack_finish0 from master c++: api.location.type muscles: a function for backward compatibility maint: more macros Conflicts: data/glr.cc data/java.m4 data/lalr1.cc doc/bison.texi src/muscle-tab.c src/system.h tests/calc.at
This commit is contained in:
15
NEWS
15
NEWS
@@ -301,6 +301,21 @@ GNU Bison NEWS
|
||||
"function declared 'noreturn' should not return") have also been
|
||||
addressed.
|
||||
|
||||
** New %define variable: api.location.type (glr.cc, lalr1.cc)
|
||||
|
||||
The %define variable api.location.type defines the name of the type to use
|
||||
for locations. When defined, Bison no longer generates the position.hh
|
||||
and location.hh files, nor does the parser will include them: the user is
|
||||
then responsible to define her type.
|
||||
|
||||
This can be used in programs with several parsers to factor their location
|
||||
and position files: let one of them generate them, and the others just use
|
||||
them.
|
||||
|
||||
This feature was actually introduced, but not documented, in Bison 2.5,
|
||||
under the name "location_type" (which is maintained for backward
|
||||
compatibility).
|
||||
|
||||
* Noteworthy changes in release 2.6.2 (2012-08-03) [stable]
|
||||
|
||||
** Bug fixes
|
||||
|
||||
Reference in New Issue
Block a user