Skip to content

Commit

Permalink
See issue #34 for more on this but we are printing out diplicated range
Browse files Browse the repository at this point in the history
warnings more than is acceptable.  Warning will get re-enabled next release
when we fix #34 (warning itself is not very important so we do not anticipate
anyone noticing past this commit message :) ).
  • Loading branch information
enebo committed Feb 21, 2018
1 parent 7c5f6fa commit aabe2be
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: DEFAULT handler is erroneously printlning extra warnings JRuby/likely any other project does not want (see issue #34 for work on re-enabling this).
//warnings.warn("character class has duplicated range");
}
}
}

0 comments on commit aabe2be

Please sign in to comment.