help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with second %% in rules definition


From: Patrik Luscan
Subject: Problem with second %% in rules definition
Date: Thu, 23 May 2002 09:44:18 +0200

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; }
%%

With best regards,
Patrik Luscan.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]