doc: we now show the type of the symbols

* doc/bison.texi (Understanding Your Parser): Update the output
from Bison.
Use types in the example, and show them in the report.
* NEWS: Update.
This commit is contained in:
Akim Demaille
2018-06-19 08:32:19 +02:00
parent 34d1773990
commit 70875b4873
2 changed files with 37 additions and 9 deletions

13
NEWS
View File

@@ -2,6 +2,19 @@ GNU Bison NEWS
* Noteworthy changes in release ?.? (????-??-??) [?]
** Reports include the type of the symbols
The sections about terminal and nonterminal symbols of the '*.output' file
now specify their declared type. For instance, for:
%token <ival> NUM
the report now shows '<ival>':
Terminals, with rules where they appear
NUM <ival> (258) 5
** Diagnostics about useless rules
In the following grammar, the 'exp' nonterminal is trivially useless. So,