Skip to content

Commit

Permalink
Workaround for excessive 'character class has duplicated range' messa…
Browse files Browse the repository at this point in the history
…ges. Issue

#34 talks about what we will need to do to uncomment this code.
  • Loading branch information
enebo committed Feb 21, 2018
1 parent 7c5f6fa commit 8147959
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/org/joni/ScanEnvironment.java
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ void closeBracketWithoutEscapeWarn(String s) {
void ccDuplicateWarn() {
if (syntax.warnCCDup() && (warningsFlag & SyntaxProperties.WARN_CC_DUP) == 0) {
warningsFlag |= SyntaxProperties.WARN_CC_DUP;
warnings.warn("character class has duplicated range");
// FIXME: #34 explains we need to make changes to warnings subsystem to get rid of bogus errant warnings.
//warnings.warn("character class has duplicated range");
}
}
}

0 comments on commit 8147959

Please sign in to comment.