> Hi All,
>
> I am new to Antlr.
> I have one grammer file with this syntax:
>
> *option_statement !* : "option" ( "base" (NUMBER)?
> | "compare" ("text"|"binary"|"database")?
> | "explicit"
> | "private" "module"
> | "internal" );
> *goto_statement !* : "goto" goto_label;
>
> What does this exclaimatory mark significants here?
> i have generated parser from both ways keeping and removing and there are
> some change correspondingly.
>
> Could anybody make me understand this ?
>
> ANy help would be appreciated.
>
> Thanks and Regards,
> Gunjan
Are you using ANTLR 3 or ANTLR 2.7.7? AFAIK, using ! at this place is used only
in ANTLR 2.7.7 grammars. On <http://antlr2.org/> you might find the
documentation.
Johannes
--
Jetzt 1 Monat kostenlos! GMX FreeDSL - Telefonanschluss + DSL
für nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---