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:
Akim Demaille
2018-12-08 08:05:00 +01:00
parent fe97793659
commit e1a843cc69

View File

@@ -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