Mail Archives: djgpp/2001/09/11/03:42:27
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 -