> On 14 Oct 2018, at 12:23, Akim Demaille <[email protected]> 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. 1. http://pubs.opengroup.org/onlinepubs/9699919799/ 2. http://pubs.opengroup.org/onlinepubs/9699919799/utilities/yacc.html
