[antlr-interest] Reg Multi-line comments
Michael
micha-1 at fantasymail.de
Thu Jul 16 05:19:08 PDT 2009
Am Thursday 16 July 2009 14:08:25 schrieb Gokulakannan Somasundaram:
> Thanks.. I think it looks good atleast to me.. But i think i would go with
> using @init part, but instead of overriding the nextToken, i will override
> the getErrorMessage() function. I just feel that compairson for every
> nextToken call might be slightly costly.
>
I thought that too, but after profiling my app with the java interactive
profiler (jip) I saw that the cost for nextToken was under 0.02% compared to
the total runtime.
cheers
Michael
More information about the antlr-interest
mailing list