[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: generate the default semantic action
From: |
Hans Åberg |
Subject: |
Re: RFC: generate the default semantic action |
Date: |
Sun, 14 Oct 2018 19:21:41 +0200 |
> On 14 Oct 2018, at 18:49, Akim Demaille <address@hidden> wrote:
>
>> Le 14 oct. 2018 à 18:13, Hans Åberg <address@hidden> a écrit :
>>
>> POSIX probably got it from there through copy-and-paste, then.
>
> Right.
>
>> So rules with empty RHS do not have any default value. What happen with
>> Bison’s default value in such a case, that is, what does it get when there
>> is no $1?
>
> Garbage.
So then one can choose whatever, like simplest or most efficient in the
implementation, or conforming to the other variations.
Re: RFC: generate the default semantic action, Paul Eggert, 2018/10/14