|How to get LPG to treat comments as terminals [message #574256]
||Wed, 19 November 2008 20:02
Originally posted by: aker1121.yahoo.com|
By looking into how JDT handles JavaDoc I have
started to understand that the parser must produce
terminals for comments. In the DSL we have created
an IDE for comments can occur 'everyware' (like it is
in java, c,c++ etc), so the way forward can not be
to add comments token in the lexical rule file.
Can someone please give me an hint here?
I can see a solution where occurences of whitespace also
could mean a comment, but how do I do that?
I'm fairly new to LPG and DSL so please have oversight
in my lack of understanding for this.
Powered by FUDForum
. Page generated in 0.02799 seconds