> DEFAULT : .+ {otherJunk.add($DEFAULT.text);} ;
>
this does not work. I get infinite loop this way. I changed it to
DEFAULT : ~(ANYUSEFULSTARTER)
but this produces a lot of on char tokens. I would lie to force lexer
to aggregate
it.
Any ideas?
Thanks,
Alex.