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: 598
Can I construct a token
ENDPLUS: '+' (options (greedy = false;):.) * '+'
;
being considered by the lexer only if it is preceded by a token PRE
without including in ENDPLUS?
PRE: '<<'
;
Thanks.
© Stack Overflow or respective owner