[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multiple Lexer
From: |
Hans Aberg |
Subject: |
Re: Multiple Lexer |
Date: |
Wed, 29 Apr 2009 10:24:26 +0200 |
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
- Multiple Lexer, Philip Herron, 2009/04/15
- Re: Multiple Lexer,
Hans Aberg <=