delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/23/09:19:48

Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3BADD630.6FACD658@phekda.freeserve.co.uk>
Date: Sun, 23 Sep 2001 13:31:44 +0100
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Flexx C++ scanners
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1010911093926 DOT 2127B-100000 AT is>
Reply-To: djgpp AT delorie DOT com

Hello.

Eli Zaretskii wrote:
> 
> On Mon, 10 Sep 2001, James Buchanan wrote:
> > Also, while I'm here, bison will handle C++ action code OK won't it?
> 
> I don't know, but if it doesn't you can always wrap your C++ code with
> trivial C functions.

You can compile the Bison output as a C++ code. I haven't tried this with
a Flex C++ lexer, but I have compiled a Flex C lexer as C++.

HTH, bye,

-- 
Richard Dawe
http://www.phekda.freeserve.co.uk/richdawe/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019