[antlr-interest] possible bug?

Micha micha-1 at fantasymail.de
Tue Nov 18 10:58:13 PST 2008


On Tuesday 18 November 2008 17:05:44 Sam Harwell wrote:
> You might try the following:
>
>   : NumberFormat
>
>     ( POINT NumberFormat POINT NumberFormat POINT NumberFormat {$type =
> IP;}
>       ( SLASH NumberFormat {$type = IPNET;}
>       )?
>     )?
>   ;
>

nice, it's the first try with antlr, I haven't known then $type = token thing
thanks,
 Michael



More information about the antlr-interest mailing list