> Le 5 août 2018 à 21:54, Hans Åberg <haber...@telia.com> a écrit : > > >> On 5 Aug 2018, at 16:09, Akim Demaille <akim.demai...@gmail.com> wrote: >> >> Make sure that we cannot apply a type to the (main) action of a rule. > > It might be retained, in case one wants to display it for clarity, say in a > long grammar. But then you have to make sure it’s consistent. Rici suggested a similar feature at the bottom of this message. https://lists.gnu.org/archive/html/bug-bison/2018-06/msg00002.html His suggestion is more ‘factored’: you’d do it once for the LHS of typically many rules, instead of doing it for each action.
- [PATCH 0/7] RFC: typed midrule actions Akim Demaille
- [PATCH 5/7] warn about typed mid-rule actions in Yacc m... Akim Demaille
- [PATCH 4/7] tests: check typed mid-rule actions Akim Demaille
- [PATCH 1/7] tests: make room for more cases Akim Demaille
- [PATCH 2/7] add support for typed mid-rule actions Akim Demaille
- [PATCH 7/7] NEWS: update Akim Demaille
- [PATCH 3/7] regen Akim Demaille
- [PATCH 6/7] rule actions cannot be typed Akim Demaille
- Re: [PATCH 6/7] rule actions cannot be typed Hans Åberg
- Re: [PATCH 6/7] rule actions cannot be typed Hans Åberg
- Re: [PATCH 6/7] rule actions cannot be typed Akim Demaille
- Re: [PATCH 0/7] RFC: typed midrule actions Akim Demaille