www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/11/03:42:27

Date: Tue, 11 Sep 2001 09:39:48 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: James Buchanan <gnudev AT ozemail DOT com DOT au>
cc: djgpp AT delorie DOT com
Subject: Re: Flexx C++ scanners
In-Reply-To: <009401c139cf$57c61f60$a9fe3c3f@spunky>
Message-ID: <Pine.SUN.3.91.1010911093926.2127B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 10 Sep 2001, James Buchanan wrote:

> I make the scanner with this command:
> 
> flexx scanner.lex
> 
> and I try to compile with this command:
> 
> gxx -o scanner.exe lexyy.cc -lfl
> 
> but I get an error from the compiler saying that "yyin" is undefined.

Please show the exact error message printed by the compiler, and also
the fragment of the source around the line(s) that the compiler
complains about.

> 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.

- Raw text -


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