[antlr-interest] Reporting bugs
lefevrol at yahoo.com
Fri Feb 1 18:59:16 PST 2008
Terence Parr wrote:
> yup. i want to filter them.
??? Nobody says you couldn't filter them: you can always mark
as invalid and close or even delete those you disagree with.
> what's the issue?
See under "internal error". Briefly,
1) The compiler should not bomb when encountering a mix of
AST operators and a tree construction rewrite rule, as in
list : '['! (elements)? ']'! -> ^(ARRAY elements) ;
It's probably illegal and it should just say that
2) It should not allow mismatches between the cardinality of
a rewrite rule element and the cardinality of the actual
element, as in
list: '[' elements? ']' -> ^(ARRAY elements) ;
Right now it does and that can lead the parser to bomb at
More information about the antlr-interest