[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with second %% in rules definition
From: |
John W. Millaway |
Subject: |
Re: Problem with second %% in rules definition |
Date: |
Thu, 23 May 2002 02:17:32 -0700 (PDT) |
Hi Patrik,
I can't reproduce the problem. The current code works fine for me, and I
believe it hasn't been modified lately. What %options (or command-line
options) are you using? Were you able to run the tests?
cd flex-2.x.x/
./configure
make
cd tests/
make test
-John
--- Patrik Luscan <address@hidden> wrote:
> Hi there,
> I have found litte inconvenience in flex-2.5.7 compiled from
> flex-snapshot-2002.05.19.tar.gz.
> If I omit the second %% in my rules definition file, the produced C-code is
> not compilable, there is one redundand "#endif" at the end of the produced
> file.
>
> This one produces bad code:
> %%
> . { return *yytext; }
>
>
> and this one is OK:
> %%
> . { return *yytext; }
> %%
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com