[antlr-interest] Antlr v3 -- Lexing '..' and '1.'

Terence Parr parrt at cs.usfca.edu
Thu Jul 27 19:28:33 PDT 2006


On Jul 27, 2006, at 7:20 PM, Loring Craymer wrote:

> Ter--
>
> Not supported as of b3.  Lexer.token is single-valued; it needs to  
> be an array to support multiple emits.  The three emits would only  
> result in returning the last DOT.
>

Oh right...you have to subclass to make that a list and then override  
nextToken to pull from list not Token.  Sorry...I should make that  
little class sometime :)

Ter



More information about the antlr-interest mailing list