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




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

Reply via email to