Lexer antlr3 token problem

Posted by nioo on Stack Overflow See other posts from Stack Overflow or by nioo
Published on 2010-03-29T16:22:36Z Indexed on 2010/03/29 19:23 UTC
Read the original article Hit count: 595

Filed under:
|
|
|
|

Can I construct a token

ENDPLUS: '+' (options (greedy = false;):.) * '+'
       ;

being considered by the lexer only if it is preceded by a token PREwithout including in ENDPLUS?

PRE: '<<'
       ;

Thanks.

© Stack Overflow or respective owner

Related posts about antlr

Related posts about lexer