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

Key: ANTLR-228
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
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

missing wildcard templates

Created: 23/Mar/08 12:14 PM   Updated: 03/May/08 02:41 PM
Component/s: All targets
Affects Version/s: 3.0.1
Fix Version/s: 3.1


 Description  « Hide
here is a grammar which "does not work"; it is for rewriting of conditions to a disjunctive normal form.
First, I had to add a template to the ASTParser.stg (I did it for Java and C#):

        wildcardTrack(label,elementIndex) ::= <<
        matchAny(input);
        >>

- otherwise, ANTLR (i.e., Stringtemplate) would crash because it could not find that macro ... for the contents of it, I just made a wild gues ...

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.