Merge pull request #1805 from bhamiltoncx/fix-something-stupid

Python 3 codegen probably didn't mean to limit ATN segment size to 2 XOR 31
This commit is contained in:
Terence Parr 2017-04-01 10:29:25 -07:00 committed by GitHub
commit 61f6df21be
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