[antlr-interest] Source positions for imaginary tokens

Juancarlo Añez apalala at gmail.com
Fri Sep 14 04:42:23 PDT 2012


On Fri, Sep 14, 2012 at 2:59 AM, Mike Lischke <mike at lischke-online.de>wrote:

> keyword:
>         keyword_sp
>         (
>         | ASCII_SYMBOL
>

I noted that the options in parenthesis start with '|', which means that
the empty sequence is one of the options. I've been bit by that many times.

-- 
Juancarlo *Añez*


More information about the antlr-interest mailing list