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: [email protected]
> 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?


_______________________________________________
help-flex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-flex
  • Comments DaveMord
    • RE: Comments Thurn, Martin

Reply via email to