Python 3 codegen probably didn't mean to limit ATN segment size to 2 XOR 31
This commit is contained in:
parent
a4622ec8dc
commit
1fd2d1b434
|
@ -56,7 +56,7 @@ public class Python3Target extends Target {
|
||||||
@Override
|
@Override
|
||||||
public int getSerializedATNSegmentLimit() {
|
public int getSerializedATNSegmentLimit() {
|
||||||
// set to something stupid to avoid segmentation
|
// set to something stupid to avoid segmentation
|
||||||
return 2 ^ 31;
|
return Integer.MAX_VALUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue