all: display a clear warning about private macros

* data/bison.m4 (b4_disclaimer): New.
* data/glr.c, data/glr.cc, data/lalr1.cc, data/yacc.c: Use it.
This commit is contained in:
Akim Demaille
2018-10-21 19:10:41 +02:00
parent ba29791773
commit 73917e9e6f
8 changed files with 49 additions and 24 deletions

11
NEWS
View File

@@ -2,6 +2,17 @@ GNU Bison NEWS
* Noteworthy changes in release ?.? (????-??-??) [?]
** Implementation details
A comment in the generated code now emphasizes that users should not
depend upon non-documented implementation details, such as macros starting
with YY_.
** Changes
%printers should use yyo rather than yyoutput to denote the output stream.
Variant-based symbols in C++ should use emplace() rather than build().
* Noteworthy changes in release 3.1.91 (2018-10-18) [beta]