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