diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2021-09-07 06:41:54 +0200 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2021-09-12 12:03:58 +0200 |
commit | 85f5e3b9d5188b093ad9e6b382b77044b9bdec1f (patch) | |
tree | f299f3c285697593ea649e1b72494627b9be4f4c /data/skeletons/lalr1.cc | |
parent | c3a4686a0318333af08d3e6478a6313c03d8459b (diff) | |
download | bison-85f5e3b9d5188b093ad9e6b382b77044b9bdec1f.tar.gz |
c++: avoid using the obsolete names
* data/skeletons/c++.m4: Don't define obsolete identifiers in the case
of glr2.cc. Let's not start with technical debt.
* data/skeletons/glr2.cc, data/skeletons/lalr1.cc,
* data/skeletons/variant.hh: Use token_kind_type, not token_type.
* tests/c++.at, tests/local.at: Use value_type, not semantic_type.
Diffstat (limited to 'data/skeletons/lalr1.cc')
-rw-r--r-- | data/skeletons/lalr1.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/data/skeletons/lalr1.cc b/data/skeletons/lalr1.cc index 4c07dcaf..11fcf923 100644 --- a/data/skeletons/lalr1.cc +++ b/data/skeletons/lalr1.cc @@ -336,7 +336,7 @@ m4_define([b4_shared_declarations], /// Convert a scanner token kind \a t to a symbol kind. /// In theory \a t should be a token_kind_type, but character literals - /// are valid, yet not members of the token_type enum. + /// are valid, yet not members of the token_kind_type enum. static symbol_kind_type yytranslate_ (int t); ]b4_parse_error_bmatch( @@ -637,9 +637,9 @@ m4_if(b4_prefix, [yy], [], ]b4_parser_class[::syntax_error::~syntax_error () YY_NOEXCEPT YY_NOTHROW {} - /*---------------. - | symbol kinds. | - `---------------*/ + /*---------. + | symbol. | + `---------*/ ]b4_token_ctor_if([], [b4_public_types_define([cc])])[ |