Friday, May 20, 2005 04:05 PM
I'm using a language in which
represent comments (nothing unusual here) but
represent meta-comments. So, I need to ignore things like:
(* this is a comment *)
(*<*) this is a comment (*>*)
(For now, I don't care whether comments are "meta" or not.)
I'm struggling with the ANTLR lexer for this kind of comments. Any hint or help is welcome.