[Top][All Lists]

[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 15:45:38 +0200

> On 14 Oct 2018, at 12:23, Akim Demaille <address@hidden> wrote:
> This patch is prompted by C++, but I believe it’s a real improvement
> even for the other languages.  However, it does mean that the default
> action is now made twice in C for instance.  I would very much like
> to disable the pre-initialization of $$ to $1, but I’m afraid people
> might depend on this…

POSIX [1] uses an ambiguous formulation [2]:
  By default, the value of a rule shall be the value of the first element in it.


reply via email to

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