Jesse,<br><br>I remember that the Lex and Yacc Oreilly book (which I unfortunately gave away) had an example of lexing multiline comments out of the token stream. It was done using "start conditions" which basically define a sublexer to parse the comment out separate from the language definition.<br><br>I know that no one is probably using Flex anymore, but if you are writing a lexer, there might be a hint in the Flex manual. There is a specific example of parsing C comments with Flex in section 0.11 and 0.18.<br><br>Also, I took a look at the official C grammer, and the official Java grammar, and noticed that both do NOT contain a description of the comment lexing. So maybe it does not need a description in the language definition of SDL.<br><br>Eric<br><br><b><i>Jesse Weaver &lt;pianohacker@gmail.com&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> An early version of the <a
 href="http://www.ikayzo.org/confluence/display/SDL/ABNF+Grammar">grammar</a> is up, supporting everything but multiline comments. Any ideas on how we could add these?<br clear="all"><br>-- <br>Jesse <br><br>-----------<br>There is a theory which states that if anybody ever discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable. There is another theory which states that this has already happened. - Douglas Adams, author of Hitchhiker's Guide to the Galaxy _______________________________________________<br>Sdl-developers mailing list<br>Sdl-developers@ikayzo.org<br>http://ml.ikayzo.org/mailman/listinfo/sdl-developers<br></blockquote><br><BR><BR>"Those who would give up essential liberty to purchase<br>a little temporary safety deserve neither liberty nor<br>safety." -- B. Franklin