When delaying error reporting because prediction escapes the decision entry rule, we should evaluate predicates to turn off any configurations that are invalid semantically. After that, we can collect the list of alternatives that are satisfied with the input thus far and then choose the minimum as before. Fixes #529
Treat EOF transitions in the ATN as epsilon transitions after the first EOF transition is traversed
Remove incorrectly generated call to adaptivePredict

This particular call to adaptivePredict did not correctly match the decision number to the preceding setState() call. In addition, since this code is generated only for a positive closure, the only possible alternative is the one that enters the loop; error handling is deferred to the alternative(s) within the body of the closure.
adaptivePredict never returns -1; it could return ATN.INVALID_ALT_NUMBER
Merge pull request #531 from sharwell/eof-transitions

Treat EOF transitions in the ATN as epsilon transitions...
Merge pull request #532 from sharwell/codegen-fixes

Codegen fixes
Add regression test for issue #529
Try to choose an alternative that passes semantic predicates in getAltThatFinishedDecisionEntryRule (fixes #529)
Extensively document getAltThatFinishedDecisionEntryRule and remove unnecessary parameter
add Sam's comment.
If there is no syntactically and semantically valid alternative that reaches the end of the decision entry rule upon no viable alt, choose the first alternative that is syntactically valid but semantically invalid.  Refactor into separate method for clarity.
Merge pull request #134 from parrt/eval-preds-when-delaying-errors

When delaying error reporting because prediction escapes the decision en...
Update the comment to reflect the new method I put it on.
Merge branch 'master' into optimized
Fix build errors following merge
Merge remote-tracking branch 'origin/entry-rule-checking' into optimized
Merge remote-tracking branch 'antlr/master' into optimized
Bug fix in the left factoring transformation
Remove semantically incorrect elimination of rule return edges from non-left-factored rules to left-factored rules
Update left factoring transformation to support indirect left recursion removal