mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 14:53:03 +00:00
Rename token.prefix as api.tokens.prefix.
Discussed here. http://lists.gnu.org/archive/html/bison-patches/2009-05/msg00024.html. * NEWS, data/bison.m4, data/c.m4, data/java.m4, doc/bison.texinfo, * tests/c++.at, tests/calc.at, tests/java.at, tests/local.at (token.prefix): Rename as... (api.tokens.prefix): this.
This commit is contained in:
@@ -190,7 +190,7 @@ static const b4_int_type_for([$2]) yy$1[[]] =
|
||||
# -----------------------------------------
|
||||
# Output the definition of this token as #define.
|
||||
m4_define([b4_token_define],
|
||||
[#define b4_percent_define_get([token.prefix])$1 $2
|
||||
[#define b4_percent_define_get([api.tokens.prefix])$1 $2
|
||||
])
|
||||
|
||||
|
||||
@@ -208,7 +208,7 @@ m4_map([b4_token_define], [$@])])
|
||||
# ---------------------------------------
|
||||
# Output the definition of this token as an enum.
|
||||
m4_define([b4_token_enum],
|
||||
[b4_percent_define_get([token.prefix])$1 = $2])
|
||||
[b4_percent_define_get([api.tokens.prefix])$1 = $2])
|
||||
|
||||
|
||||
# b4_token_enums(LIST-OF-PAIRS-TOKEN-NAME-TOKEN-NUMBER)
|
||||
|
||||
Reference in New Issue
Block a user