A NonLLStarDecisionException was being throw in the DFA constructor, but
then the DecisionProbe was not printing any information because in

public void issueWarnings() {
// NONREGULAR DUE TO RECURSION > 1 ALTS
// Issue this before aborted analysis, which might also occur
// if we take too long to terminate
if ( nonLLStarDecision && !dfa.getAutoBacktrackMode() ) {
ErrorManager.nonLLStarDecision(this);
}

the if clause was ( true && false). so dfa.getAutoBacktrackMode is returning
true. When I nuked that part of the test I got this error message:

error(211): JavaDef.g:378:5: [fatal] rule statement has non-LL(*) decision
due to recursive rule invocations reachable from alts 2,3.  Resolve by
left-factoring or using syntactic predicates or using backtrack=true option.

The DFA that had this problem in the constructor is the one failing later
because the resetStateNumbersToBeContiguous() method was never called.

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to il-antlr-inter...@googlegroups.com.
To unsubscribe from this group, send email to 
il-antlr-interest+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to