help-flex
[Top][All Lists]
Advanced

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

RE: Comments


From: Thurn, Martin
Subject: RE: Comments
Date: Tue, 12 Dec 2006 13:51:28 -0500

Try adapting this mantra from TFM*:

"Lines that start with whitespace are copied verbatim to the C file."


* Actually, from the vintage-but-still-accurate O'Reilly book "lex &
yacc" page 147
http://www.amazon.com/exec/obidos/ASIN/1565920007/thestarwarscol06

 - - Martin 

 

> -----Original Message-----
> Sent: Tuesday, December 12, 2006 10:09
> To: address@hidden
> Subject: Comments
> 
> In my lex file, when i compiled with lex tool, I can write 
> comment this way
> /* */. But if i try with flex, i got errors (unrecognize 
> rule). I tried with
> // but i got the same error. What is the syntax to write 
> comments with flex?




reply via email to

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