aboutsummaryrefslogtreecommitdiffstats
path: root/enc/unicode.c
diff options
context:
space:
mode:
authorduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-02-23 12:53:10 +0000
committerduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-02-23 12:53:10 +0000
commit1cc579cb0036c4178f4279b9d505d0f6ba5d375a (patch)
tree809e0d8ed1ab89f66e196625526924bf9f05eee0 /enc/unicode.c
parent3c0bb8d6f4ece61843f4a26b115e6555d2bbc913 (diff)
downloadruby-1cc579cb0036c4178f4279b9d505d0f6ba5d375a.tar.gz
* enc/unicode/case-folding.rb, casefold.h: Outputting actual titlecase
data (new table, with indices from other tables). * enc/unicode.c: Ignoring titlecase data indices for the moment. (with Kimihito Matsui) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/unicode.c')
-rw-r--r--enc/unicode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/enc/unicode.c b/enc/unicode.c
index 2170301985..d26497fc9c 100644
--- a/enc/unicode.c
+++ b/enc/unicode.c
@@ -143,15 +143,15 @@ code3_equal(const OnigCodePoint *x, const OnigCodePoint *y)
#define U ONIGENC_CASE_UPCASE
#define D ONIGENC_CASE_DOWNCASE
-#define T ONIGENC_CASE_TITLECASE
#define F ONIGENC_CASE_FOLD
+#define T(n) ONIGENC_CASE_TITLECASE
#include "enc/unicode/casefold.h"
#undef U
#undef D
-#undef T
#undef F
+#undef T
#include "enc/unicode/name2ctype.h"