Looking at your full grammar file, line 347 is:
ALL_FIELDS : '.*' ;
This token obviously conflicts with (and takes precedent)
over DOT ASTERISK when there is no intervening whitespace between them.
Perhaps you should replace references to:
DOT ASTERISK
by
(DOT ASTERISK | ALL FIELDS)
> *when input : select a.* from b*
> the output is :line 1:8 extraneous input '.*' expecting {<EOF>, ORDER,
> FROM, UNION, LIMIT, ';',} the output treemap is followed:
>
>
>
> *And when input : select a. * from b (the SQL has a BLANK between DOT
> and ASTERISK)*
> the SQL can be read correctly. The treemap is as follows:
>
>
>
> *So why can't the ANTLR resolve " a.* " ?*
>
> --
> You received this message because you are subscribed to the Google
> Groups "antlr-discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
antlr-discussi...@googlegroups.com
> <mailto:
antlr-discussi...@googlegroups.com>.
--
Kevin J. Cummings
kjc...@verizon.net
cumm...@kjchome.homeip.net
cumm...@kjc386.framingham.ma.us
Registered Linux User #1232 (
http://www.linuxcounter.net/)