Python 3 codegen probably didn't mean to limit ATN segment size to 2 XOR 31

This commit is contained in:
Ben Hamilton 2017-03-31 09:27:23 -07:00
parent a4622ec8dc
commit 1fd2d1b434
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ public class Python3Target extends Target {
@Override
public int getSerializedATNSegmentLimit() {
// set to something stupid to avoid segmentation
return 2 ^ 31;
return Integer.MAX_VALUE;
}
@Override