Merge pull request #327 from parrt/master
fix null ptr exception as reported by Coverity
This commit is contained in:
commit
b411ccaaa4
|
@ -978,7 +978,7 @@ public class ParserATNSimulator extends ATNSimulator {
|
|||
}
|
||||
|
||||
if ( !containsPredicate ) {
|
||||
pairs = null;
|
||||
return null;
|
||||
}
|
||||
|
||||
// System.out.println(Arrays.toString(altToPred)+"->"+pairs);
|
||||
|
|
Loading…
Reference in New Issue