[jruby-joni] 27/31: See #34 for more. Some codepoint expansions duplicate characters and that is causing erroneous warnings.

Hideki Yamane henrich at moszumanska.debian.org
Sat Feb 24 10:44:59 UTC 2018


This is an automated email from the git hooks/post-receive script.

henrich pushed a commit to branch debian/sid
in repository jruby-joni.

commit 59a6b567a3bdc2d38d6453507cc6fbdd0281eff3
Author: Thomas E. Enebo <tom.enebo at gmail.com>
Date:   Wed Feb 21 09:50:05 2018 -0600

    See #34 for more.  Some codepoint expansions duplicate characters and that is
    causing erroneous warnings.
---
 src/org/joni/ScanEnvironment.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/org/joni/ScanEnvironment.java b/src/org/joni/ScanEnvironment.java
index f2130a0..09d6a48 100644
--- a/src/org/joni/ScanEnvironment.java
+++ b/src/org/joni/ScanEnvironment.java
@@ -152,7 +152,8 @@ public final class ScanEnvironment {
     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");
         }
     }
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jruby-joni.git



More information about the pkg-java-commits mailing list