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

Key: ANTLR-249
Type: Bug Bug
Status: Closed Closed
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

semantic predicate hoisting stops hoisting all predicates

Created: 05/May/08 05:17 PM   Updated: 05/May/08 06:07 PM
Component/s: analysis
Affects Version/s: 3.0.1
Fix Version/s: 3.1


 Description  « Hide
parser grammar T;

a : loop SEMI | ID SEMI
  ;

loop
    : {"while"}? ID
    | {"do"}? ID
    | {"for"}? ID
    ;

Generates a DFA missing do and for preds:

.s0-ID->.s1
.s1-SEMI->.s2
.s2-{"while"}?->:s3=>1
.s2-{true}?->:s4=>2



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Terence Parr - 05/May/08 06:07 PM
I include semantic context again in closure busy signal.