Skip to content

Commit

Permalink
set inline bitset test word size to 32; ref antlr#777
Browse files Browse the repository at this point in the history
  • Loading branch information
parrt committed Dec 26, 2014
1 parent 8282c23 commit 25053b7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tool/src/org/antlr/v4/codegen/JavaScriptTarget.java
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,11 @@ public int getSerializedATNSegmentLimit() {
return 2 ^ 31;
}

@Override
public int getInlineTestSetWordSize() {
return 32;
}

@Override
protected boolean visibleGrammarSymbolCausesIssueInGeneratedCode(GrammarAST idNode) {
return getBadWords().contains(idNode.getText());
Expand Down

0 comments on commit 25053b7

Please sign in to comment.