[antlr-interest] problem in this grammer file:-

faraz ahmed passionist_81 at yahoo.co.uk
Mon Aug 4 17:20:29 PDT 2008


Hi i am new to antlr .i have to use this grammer file produced by
somebody else . i am trying to run it.can somebody plz check those
errors in this grammer.

the errors it is giving are 

ANTLR Parser Generator  Version 3.1b1 (May 20, 2008)  1989-2008

error(100): Dfa.g:4:1: syntax error: antlr: Dfa.g:4:1: unexpected token: 

  import java.io.*;

  import antlr.*;

  import uk.ac.sheffield.dcs.dfa.*;

  import uk.ac.sheffield.dcs.dfa.spec.*;



warning(149): Dfa.g:0:0: rewrite syntax or operator with no output option; setting output=AST

error(150):  grammar file Dfa.g has no rules

error(100): Dfa.g:0:0: syntax error: assign.types: <AST>:0:0: unexpected end of subtree

error(100): Dfa.g:0:0: syntax error: define: <AST>:0:0: unexpected end of subtree

grammer file is attached with this e-mail.

thanking you,

faraz







      __________________________________________________________
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080805/9a6a2339/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dfa.g
Type: application/octet-stream
Size: 18974 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20080805/9a6a2339/attachment.obj 


More information about the antlr-interest mailing list