Just in case it makes a difference, I'm writing a completely handcoded recursive descent parser for the C++ version (Boost::Spirit is a lot of library overhead). Right now, the parsing functions for each part of the grammar will look at the text stream directly. Should I add a lexer-type class, and implement the multiline comments in there, or simply write in multiline comments as a fallback when nothing else can be matched?
<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