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.