Date: Tue, 11 Sep 2001 09:39:48 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: James Buchanan cc: djgpp AT delorie DOT com Subject: Re: Flexx C++ scanners In-Reply-To: <009401c139cf$57c61f60$a9fe3c3f@spunky> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.