doc: token_kind_type in C++

* data/skeletons/c++.m4: Define the old names in terms on the new
ones, instead of the converse.
* doc/bison.texi (C++ Parser Interface): Be more extensive about
token_kind_type.
This commit is contained in:
Akim Demaille
2020-04-17 08:05:40 +02:00
parent 5d983253f7
commit e86b14069d
3 changed files with 58 additions and 28 deletions

7
TODO
View File

@@ -17,7 +17,7 @@
** Documentation
- YYERRCODE, YYUNDEF, YYEOF
- symbol.type_get should be kind_get, and it's not documented.
- YYERRCODE and "end of file" and translation
- YYERRCODE and translation
** Java
*** Examples
@@ -35,9 +35,8 @@ breaks.
token vs terminal, variable vs non terminal.
** api.token.raw
Maybe we should exhibit the YYUNDEFTOK token. It could also be assigned a
semantic value so that yyerror could be used to report invalid lexemes.
See also the item "$undefined" below.
The YYUNDEFTOK could be assigned a semantic value so that yyerror could be
used to report invalid lexemes. See also the item "$undefined" below.
** push parsers
Consider deprecating impure push parsers. They add a lot of complexity, for