mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
c++: make it clear that #define YYSTYPE is not supported
We have been accepting this for years, but it is deprecated: people are expecting to define api.value.type instead. * doc/bison.texi: Make it clear that YYSTYPE and YYLTYPE are for C only.
This commit is contained in:
7
NEWS
7
NEWS
@@ -2,6 +2,13 @@ GNU Bison NEWS
|
||||
|
||||
* Noteworthy changes in release 3.7.5 (2021-01-24) [stable]
|
||||
|
||||
** Deprecated features
|
||||
|
||||
It is always recommended to prefer `%define api.value.type foo` to
|
||||
`#define YYSTYPE foo`. The latter is supported in C for compatibility
|
||||
with Yacc, but not in C++. Warnings are now issued if `#define YYSTYPE`
|
||||
is used in C++, and eventually support will be removed.
|
||||
|
||||
** Bug fixes
|
||||
|
||||
*** Counterexample Generation
|
||||
|
||||
Reference in New Issue
Block a user