History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: ANTLR-66
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Terence Parr
Reporter: Terence Parr
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ANTLR v3

rewrite rule doesn't duplicate rule refs

Created: 16/Dec/06 06:10 PM   Updated: 20/Apr/07 12:57 PM
Component/s: ANTLR Core
Affects Version/s: 3.0b5
Fix Version/s: 3.0b8


 Description  « Hide
^(op atom)+ is not going to dup the op rule result for each atom.

Also, what does 'modifiers?' do if modifiers is a list? Does it duplicate? Does it have to be same cardinality as ID?

decl : modifiers type ID (',' ID)* -> ^(type modifiers? ID)+ ;


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Terence Parr - 20/Apr/07 12:57 PM
Fixed with new rewrite mechanism.