c++: stop referring to YYSTYPE in yylex

* data/skeletons/glr2.cc, data/skeletons/lalr1.cc (b4_lex): Don't
refer to YYSTYPE, but to value_type.
Note that this is "symbolic" in the sense that these values are never
used by b4_function_call.
This commit is contained in:
Akim Demaille
2021-01-31 16:03:38 +01:00
parent 638de51289
commit a70e21215a
2 changed files with 4 additions and 4 deletions

View File

@@ -153,8 +153,8 @@ m4_define([b4_lex],
[b4_function_call([yylex],
[symbol_type], m4_ifdef([b4_lex_param], b4_lex_param))],
[b4_function_call([yylex], [int],
[b4_api_PREFIX[STYPE*], [&yyla.value]][]dnl
b4_locations_if([, [[location*], [&yyla.location]]])dnl
[[value_type *], [&yyla.value]][]dnl
b4_locations_if([, [[location_type *], [&yyla.location]]])dnl
m4_ifdef([b4_lex_param], [, ]b4_lex_param))])])