Skip to content

Commit

Permalink
Fix assertion or stack overflow error in some full-context parsing sc…
Browse files Browse the repository at this point in the history
…enarios
  • Loading branch information
sharwell committed Sep 21, 2014
1 parent 6b6596b commit 685bcdc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ else if ( target == ERROR ) {
// return -1;
// }

if ( s.configs.getConflictInfo()!=null ) {
if ( !state.useContext && s.configs.getConflictInfo()!=null ) {
if ( dfa.atnStartState instanceof DecisionState ) {
if (!userWantsCtxSensitive ||
(!s.configs.getDipsIntoOuterContext() && s.configs.isExactConflict()) ||
Expand Down

0 comments on commit 685bcdc

Please sign in to comment.