bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 6/7] rule actions cannot be typed


From: Akim Demaille
Subject: Re: [PATCH 6/7] rule actions cannot be typed
Date: Sat, 11 Aug 2018 18:02:11 +0200


> Le 5 août 2018 à 21:54, Hans Åberg <address@hidden> a écrit :
> 
> 
>> On 5 Aug 2018, at 16:09, Akim Demaille <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]