[antlr-interest] Multiple lexer tokens per rule

Ken Williams ken.williams at thomsonreuters.com
Fri Jun 4 12:58:10 PDT 2010

On 6/4/10 2:53 PM, "Jim Idle" <jimi at temporal-wave.com> wrote:

> You need to use a collection that gives out the entries in the order they were
> added:
> http://java.sun.com/docs/books/tutorial/collections/interfaces/queue.html

I don't think that's the issue here, there's only ever 1 element in the
queue.  It's not getting mixed up with other elements in the queue, it's
getting mixed up with the token held by the superclass.

Ken Williams
Sr. Research Scientist
Thomson Reuters
Phone: 651-848-7712
ken.williams at thomsonreuters.com

More information about the antlr-interest mailing list