parser: deprecate %nterm

It has several weaknesses.
Reported by Rici Lake.
http://lists.gnu.org/archive/html/bug-bison/2018-10/msg00000.html

* src/scan-gram.l: here.
This commit is contained in:
Akim Demaille
2018-11-11 19:16:56 +01:00
parent 8d454b843c
commit 7928c3e6fb
5 changed files with 30 additions and 32 deletions

7
NEWS
View File

@@ -10,12 +10,19 @@ GNU Bison NEWS
- relative paths (allowing to relocate an installation of bison)
- use gettext-h in gnulib instead of gettext
- constexpr/noexcept in C++
- resolving %type/%nterm/%type inconsistencies
** Backward incompatible changes
Support for DJGPP, which has been unmaintained and untested for years, is
removed.
** Deprecated features
The directive %nterm, an historical heritage from an ancestor of Bison,
was never officially documented. Its use now triggers warnings.
Eventually, support will be removed. Use %type instead.
* Noteworthy changes in release 3.2.1 (2018-11-09) [stable]
** Bug fixes