help-flex
[Top][All Lists]
Advanced

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

Re: multiple C++ scanners


From: John W. Millaway
Subject: Re: multiple C++ scanners
Date: Thu, 18 Oct 2001 11:31:49 -0700 (PDT)

> my project?. In my project I am using flex 2.5.4 C++
> scanner. I need to create 3 different scanner classes
> in my project. what i need to do for that?. I used the
> - -P option. But the resultant code doesn't create
> "name"FlexLexer class, instead a preprocessor
> directive
> #define yyFlexLexer abcFlexLexer
> was added to the resultant code. The C version works
> fine. 

Read the flex manual section, "GENERATING C++ SCANNERS", which explains how to
do this.


__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com



reply via email to

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