Can anyone tell me what I'm doing wrong here? Antlr (great tool!) gives
me the error
syntax error: buildnfa: expecting EOA, found '
System.out.println( "foo");
'
when parsing the following grammar file:
lexer grammar Test;
RPAREN : ')' { System.out.println( "foo"); };
fragment METACHAR : RPAREN ;
NON_METACHAR : ~METACHAR;
(Of course these rules are selected from a much larger grammar).
Thanks for any help.
Alan
List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org:8080/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
-~----------~----~----~----~------~----~------~--~---