[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: YY_CURRENT_BUFFER undeclared
From: |
Hans-Bernhard Broeker |
Subject: |
Re: YY_CURRENT_BUFFER undeclared |
Date: |
Thu, 04 Dec 2003 15:06:28 +0100 (CET) |
On Thu, 4 Dec 2003, Buday Gergely wrote:
> What is the problem?
You're trying to use a macro generated by flex, but from a source file
that has *no* connection to flex output.
YY_CURRENT_BUFFER cannot be available outside the flex-generated .c source
file.
(Also note that .yy is a highly unusual filename extension to be used for
lex input. The conventional one is .l).
--
Hans-Bernhard Broeker (address@hidden)
Even if all the snow were burnt, ashes would remain.