doc: refer to the token kind rather than the token type

* doc/bison.texi: Replace occurrences of "token type" with "token
kind".
Stop referring to the "macro definitions" of the token kinds, just
name them "definitions".
This commit is contained in:
Akim Demaille
2020-04-05 15:14:59 +02:00
parent 9b70d69f39
commit 04d62346f3
3 changed files with 130 additions and 122 deletions

14
NEWS
View File

@@ -118,8 +118,17 @@ GNU Bison NEWS
** Documentation
*** User Manual
In order to avoid ambiguities with "type" as in "typing", we now refer to
the "token kind" (e.g., `PLUS`, `NUMBER`, etc.) rather than the "token
type". We now also refer to the "symbol type" (e.g., `PLUS`, `expr`,
etc.).
*** Examples
There are now two examples in examples/java: a very simple calculator, and
one that tracks locations to provide acurate error messages.
one that tracks locations to provide accurate error messages.
The lexcalc example (a simple example in C based on Flex and Bison) now
also demonstrates location tracking.
@@ -4038,7 +4047,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
LocalWords: YYPRINT Mangold Bonzini's Wdangling exVal baz checkable gcc
LocalWords: fsanitize Vogelsgesang lis redeclared stdint automata yytname
LocalWords: yysymbol yytnamerr yyreport ctx ARGMAX yysyntax stderr
LocalWords: symrec
LocalWords: symrec yypcontext TOKENMAX yyexpected YYEMPTY yypstate
LocalWords: autocompletion bistromathic submessages Cayuela lexcalc
Local Variables:
ispell-dictionary: "american"