Hans Aberg wrote:
> On 15 Apr 2009, at 14:41, Philip Herron wrote:
>
>> So my problems is i have a program which it would be nice to have 2
>> completely separate lexers only one of them needs a yacc grammar file.
>
> It seems you have not gotten a reply.
>
> Set the name-space prefix by 'bison --name-prefix=<name>' and 'flex
> -P<name>', where <name> is the prefix you want. This should separate
> global names so they don't clash. If you want to run the same parser
> simultaneously more than once in the same program look up "pure
> parser" in the Bison manual.
>
>   Hans
>
>

Hey

Thanks, i got this fixed a while back, i understand how it works now. I
posted what i did to fix it on automake mailing list. it was the
-P<prefix> for flex threw me off and it took a while to find it because
i kept putting a space in it. :)

But i was also using bison kind of bad so now i have it all fixed. :)

Thanks

-Phil


_______________________________________________
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to