You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Semantic action attached to a parser that has attribute type of unused_type shall not inhibit the outer rule's attribute composition #104
This kind of grammar definition does not alter the semantics of the internal attribute as it's unused_type in the first place. Therefore, there's no reason that we must inhibit the rule parser's attribute handling even when semantic action is attached.
We can currently use x4::as<x4::unused_type>(...) to explicitly re-enable the inhibited attribute. However it's actually a hack (which I introduced for some good reason) when I implemented x4::as, so it's solely a workaround and should not be the desired way of expressing it in application code.
Activity