[antlr-interest] hidden channel constant issue

Benoit Fouletier benblo+ANTLR at gmail.com
Mon Jul 20 05:48:48 PDT 2009


I know that wasn't the point of your post, but I think you can work around
by adding this:
@members {
public static int HIDDEN = Hidden;
}

Improves compatibility... at the cost of adding an header, granted.

     Ben


On Mon, Jul 20, 2009 at 1:59 PM, Elnur Cabarov <elnur.j at gmail.com> wrote:

> Hello,
>
> When working with Java target I specify hidden channel as { $channel =
> HIDDEN; }
> but with C# target have to change it to  { $channel = Hidden; }
>
> Don't constant names have to be the same for maximum compatibility?
>
> --
> Elnur Cabarov
>
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090720/b284747b/attachment.html 


More information about the antlr-interest mailing list