[antlr-interest] Antlr Grammer help

Chal Chale apne Ghar gunjgupta at gmail.com
Wed Feb 11 01:12:31 PST 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090211/bffce8cb/attachment.html 


More information about the antlr-interest mailing list