Home | History | Annotate | Download | only in tool

Lines Matching full:nondeterminism

206 * greedy=true option shuts off nondeterminism warning.
725 nondeterminisms so it's clear the nondeterminism is a result of insufficient preds.
733 * Improved nondeterminism warning to have:
739 To create the prediction DFA for the optional sub rule in 'a', ANTLR must find all references to 'a' to determine what can follow. A B can follow 'a' in the first two alts rule 'b'. To resolve the conflict between matching A B immediately in the sub rule and exiting rule 'a' to match it in 'b', ANTLR looks for predicates. In this case, there are two predicates that indicate the semantic context in which the surrounding alternatives are valid. The problem is that one of the predicates is hidden by an action. It took me 1.5 days, but I've finally have gotten ANTLR to properly track the insufficiently covered alternatives. Further, I have gotten it to tell you precisely where the uncovered predicates are even if they are simply hidden by actions. I have also updated all of the nondeterminism warnings so that it tells you if there was a predicate but one hidden by an action (this could be a separate condition from insufficiently covered predicates). here are your messages from ANTLR:
1720 * Changed (hidden) option -verbose to -Xnfastates; this just prints out the NFA states along each nondeterministic path for nondeterminism warnings.
2308 * No grammar nondeterminism warning now when wildcard '.' is final alt.
3236 * nondeterminism warnings improved for Tokens rule: