mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
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:
@@ -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))])])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user