RE: Comments
"Thurn, Martin" <[email protected]> Tue, 12 Dec 2006 13:51:28 -0500
| Newsgroups | gmane.comp.lex.flex.general |
|---|---|
| Message-ID | <[email protected]> |
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=20 =20 > -----Original Message----- > Sent: Tuesday, December 12, 2006 10:09 > To: [email protected] > Subject: Comments >=20 > In my lex file, when i compiled with lex tool, I can write=20 > comment this way > /* */. But if i try with flex, i got errors (unrecognize=20 > rule). I tried with > // but i got the same error. What is the syntax to write=20 > comments with flex?