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

Key: ANTLR-117
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

no default value for alt prediction alternative variable

Created: 29/Apr/07 03:34 PM   Updated: 03/May/07 06:11 PM
Component/s: ANTLR Core
Affects Version/s: 3.0b7
Fix Version/s: 3.0b8


 Description  « Hide
Benjamin reports:

grammar T;
a: ((s+ P)=> s+ b)? E;
b: P 'foo';
s: S;

S: ' ';
P: '+';
E: '>';

Look at synpred1_fragment(), there's a line
            int alt=;
Somethings missing there...


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Terence Parr - 03/May/07 06:11 PM
Decisions within synpreds were not computed (no DFA created).