[antlr-interest] (no subject)

Eric researcher0x00 at gmail.com
Tue Oct 2 11:54:28 PDT 2012


Hi,

Just a 5 second look, but shouldn't it be

common_param*

with * for zero or more.




On Tue, Oct 2, 2012 at 1:52 PM, Ron Burk <ronburk at gmail.com> wrote:

> Possibly the problem is easier to spot if you formatted like this:
>
>  common_param
>          :      ( 'gender=' VAL )
>          |      ( 'race=' VAL )
>          |      ( 'name=' VAL )
>          |      ( 'age=' VAL )    New_Line+
>          ;
>
> so it's obvious then that common_param has 4 productions,
> only one of which can end in a newline.
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>


More information about the antlr-interest mailing list