Hi, 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.
Thanks. Hammad Rauf On Mon, Nov 24, 2014 at 2:32 PM, Askar Safin <safinas...@mail.ru> 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 > http://vk.com/safinaskar > Kazan, Russia