[antlr-interest] Dumping out lexer token stream?

Randall R Schulz rschulz at sonic.net
Sat Jun 23 09:42:06 PDT 2007


On Saturday 23 June 2007 09:37, Randall R Schulz wrote:
> Hello again,
>
> It turns out this was a false alarm. My execution class-path was all
> messed up, though that in my IDE and in my Ant file was correct.

Actually, it was apparently more than one problem.

As Thomas pointed out, you must call a method other than size() to 
trigger filling the token buffer.

When I wrote my "false alarm" message, I had changed the code to call 
getTokens() and iterate over the List it returns.


> Sorry for the noise.

... again


Randall Schulz


More information about the antlr-interest mailing list