Hi I am trying to ignore java comments using JFlex but I can't manage to make it working, I always have an error in execution. I used these two lines:
commentary = "//"[\r\n]*(\r|\n|\r\n)
<YYINITIAL> {commentary} {}
I also tried different things like commentary = [/][/].*
but without success.