[antlr-interest] what's wrong with my grammar?
Pete Siemsen
siemsen at ucar.edu
Fri Jul 6 13:41:22 PDT 2007
I'm struggling to convert an old ANTLR v2 grammar to ANTLR v3. I'm a
newbie. ANTLR reports
$ java org.antlr.Tool cim2mof.g
ANTLR Parser Generator Version 3.0 (May 17, 2007) 1989-2007
error(100): cim2mof.g:493:33: syntax error: antlr: cim2mof.g:493:33:
unexpected token: qualifierType
error(100): cim2mof.g:523:1: syntax error: antlr: cim2mof.g:523:1:
unexpected token: scope
error(100): cim2mof.g:524:23: syntax error: antlr: cim2mof.g:524:23:
unexpected token: metaElement
error(100): cim2mof.g:525:2: syntax error: antlr: cim2mof.g:525:2:
unexpected token: ;
$
I can't understand what ANTLR doesn't like. The grammar is
attached. Any help appreciated!
-- Pete

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070706/703375d2/attachment-0002.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cim2mof.g
Type: application/octet-stream
Size: 16094 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20070706/703375d2/attachment-0001.obj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070706/703375d2/attachment-0003.html
More information about the antlr-interest
mailing list