Skip to content

Commit

Permalink
See #34 for more. Some codepoint expansions duplicate characters and …
Browse files Browse the repository at this point in the history
…that is

causing erroneous warnings.
  • Loading branch information
enebo committed Feb 21, 2018
1 parent 7c5f6fa commit 59a6b56
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 points out problem and what it will take to uncomment this (we were getting erroneous versions of this)
// warnings.warn("character class has duplicated range");
}
}
}

0 comments on commit 59a6b56

Please sign in to comment.