mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
d: fix double definition of YYSemanticType
* data/lalr1.d: When moving to b4_user_union_members, it also defines b4_tag_seen_flag, so we had two definitions.
This commit is contained in:
@@ -226,11 +226,10 @@ private immutable bool yy_location_is_class = true;
|
||||
]]))m4_ifdef([b4_user_union_members], [private union YYSemanticType
|
||||
{
|
||||
b4_user_union_members
|
||||
};
|
||||
|
||||
]m4_if(b4_tag_seen_flag, 0,
|
||||
[[private alias int YYSemanticType;]]))
|
||||
b4_token_enums(b4_tokens)[
|
||||
};],
|
||||
[m4_if(b4_tag_seen_flag, 0,
|
||||
[[private alias int YYSemanticType;]])])[
|
||||
]b4_token_enums(b4_tokens)[
|
||||
]b4_public_if([public ])dnl
|
||||
b4_abstract_if([abstract ])dnl
|
||||
b4_final_if([final ])dnl
|
||||
|
||||
Reference in New Issue
Block a user