[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bison 3.0.2 - "bison -d Grammar.y" generates duplicate entries in th
Re: Bison 3.0.2 - "bison -d Grammar.y" generates duplicate entries in the YYSTYPE union (In Header file only)
Mon, 24 Nov 2014 18:43:19 -0500
I have found a fix for my problem for now, I manually edit and copy the
generated code in a new HEADER file, and I am using that. I am new to
Bison, and not sure how %union will impact the %type. I want to use custom
%type names instead of C primitives int, char, etc.
On Mon, Nov 24, 2014 at 2:32 PM, Askar Safin <address@hidden> wrote:
> >Bison is generating duplicate entries the union in header "basava.tab.h".
> Hammad, please, remove "%define api.value.type union" and use some other
> semantic value instead (for example, %union). All will work.
> Bison devs, as you can see, this bug affects more and more people every
> day. So, please, fix, fix, fix, fix, fix, fix, fix, fix, fix this bug!
> Askar Safin
> Kazan, Russia