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