Re: [Flex-help] =?iso-8859-1?q?C++_lexer_and_STL_=3F?=
flex is a tool for generating scanners
Brought to you by:
wlestes
From: John D. G. <jgw...@da...> - 2006-11-01 21:09:16
|
I'll confirm that and second the feature request. I finally modified= 2.5.4a to do what you mentioned. I'm using MS C++ 12.00.8804 (MSVC8).= So I'm going to guess this is a C90 issue if G++ is complaining too. =A0=A0=A0 =3D=3D John =3D=3D =A0 John D. Gwinner Director of Technology DAZ Systems, Inc Oracle Certified Advantage Partner > -----Original Message----- > From: fle...@li... [mailto:flex-help- > bo...@li...] On Behalf Of sir...@po... > Sent: Wednesday, November 01, 2006 1:02 PM > To: fle...@li... > Subject: [Flex-help] C++ lexer and STL ? >=20 > Hello, > I have created C++ lexer using flex. Unfortunately it uses non-STL > streams, and G++ complains about ambiguous istream/ostream types. As= for > now I solved this using sed to add prefix "std::" before each > istream/ostream, and to replace "class istream" with "#include <istrea= m>". > Is any other way to create STL-compliant lexer? If not, you should > consider adding this as new feature for next release. >=20 > Daniel |