HI @Hans. thanks
I saw the comments in the code: /* Variants are always initialized to an empty instance of the correct type. The default '$$ = $1' action is NOT applied when using variants. */ so seems we are ok. min On Fri, Aug 19, 2016 at 9:53 AM, Hans Åberg <haber...@telia.com> wrote: > > > On 19 Aug 2016, at 15:45, Min Wang <mingew...@gmail.com> wrote: > > > so if every rule has an explicit action, the issue could be avoided, > right? > > Only if the implementation of the C++ parser has been changed, but it may > not. Check the output C++ source code. > > > -- http://www.comrite.com _______________________________________________ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison