Hi,

running org.antlr.tool.Strip on the attached grammar produces an
incorrect result and error messages :

=====================================
$ java -classpath ~/Desktop/antlr-3.3-complete.jar org.antlr.tool.Strip test.g
test.g line 15:15 mismatched input '<' expecting ')'
test.g line 15:43 extraneous input ')' expecting ';'
grammar test;

options {
        language = Java;
        output = AST;
        ASTLabelType = ASTNode;
}

tokens {
DOCUMENT;
}

spec
  : type_def*
  )
;

type_def: ID;

ID: 'A'..'Z' ('a'..'z' | 'A'..'Z' | '0'..'9' | '_')*;
=====================================


I already reported this 1 year and a half ago. I would have like to
submit a bug report on jira but can't create an account there.


-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

Attachment: test.g
Description: Binary data

-- 
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.

Reply via email to