help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple Flex Lexer in one C++ Project


From: John Millaway
Subject: Re: Multiple Flex Lexer in one C++ Project
Date: Sat, 10 Aug 2002 08:42:35 -0700 (PDT)

The C++ scanner is undergoing a facelift. Your best option is to use the
reentrant C scanner. Compile it as C++ if you like. You'll have to redefine
YY_INPUT. Use option %prefix to get multiple syntax scanners.

> I have a problem defining multiple Lexers inside a single project. I 
> tried to understand what the man-page told me about the 
> #define/#undefine Strategy for the include-file FlexLexer.h, but I still 
> get many erros regarding duplicate declarations.



__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]