Am 13.05.2011 um 11:40 schrieb Norbert Hartl:
I created myself a parser that has quite some rules.
Now I discovered that in the format there are comments possible. The type of comments is
quite common. One format for single line comment and one for multiline comments.
The comments are not described as part of the format. So now I'm trying to get a
solution how to parse the comments. Basically the can appear anywhere in the text. I could
do it by first removing the comments and then parsinf the format. But hopefully there is
something more smart.
Ah, looking at the java parser I see that implementing a custom token parser is
the way to go. Perfect fit I would say
Norbert