summaryrefslogtreecommitdiff
path: root/enc
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-15 12:31:25 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-15 12:31:25 +0000
commit179045acaf5de8398c321ada86a76f1afb77a796 (patch)
treebdfc82548648c959da3821424b06e304c21f1067 /enc
parentf31c5e72b2ad8c87feb1ce3217b2bf2bba4a8674 (diff)
regparse.c: Suppress duplicated range warning by mere \X
* regparse.c (node_extended_grapheme_cluster): as Unicode 10 has added Grapheme_Cluster_Break properties to some characters, remove duplicated ranges for Unicode 9. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc')
-rw-r--r--enc/unicode.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/enc/unicode.c b/enc/unicode.c
index 72ff5a9..c909022 100644
--- a/enc/unicode.c
+++ b/enc/unicode.c
@@ -786,7 +786,6 @@ SpecialsCopy:
return (int )(to - to_start);
}
-#if 0
const char onigenc_unicode_version_string[] =
#ifdef ONIG_UNICODE_VERSION_STRING
ONIG_UNICODE_VERSION_STRING
@@ -802,4 +801,3 @@ const int onigenc_unicode_version_number[3] = {
0
#endif
};
-#endif