summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--enc/unicode.c4
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,7 @@
Mon May 16 19:46:33 2016 Martin Duerst <[email protected]>
* include/ruby/oniguruma.h: Introducing ONIG_CASE_MAPPING compilation
@@ -137,6 +137,7 @@ code3_equal(const OnigCodePoint *x, const OnigCodePoint *y)
return 1;
}
/* macros related to ONIGENC_CASE flags */
/* defined here because not used in other files */
#define ONIGENC_CASE_SPECIALS (ONIGENC_CASE_TITLECASE|ONIGENC_CASE_IS_TITLECASE|ONIGENC_CASE_UP_SPECIAL|ONIGENC_CASE_DOWN_SPECIAL)
@@ -161,9 +162,11 @@ code3_equal(const OnigCodePoint *x, const OnigCodePoint *y)
#define IT ONIGENC_CASE_IS_TITLECASE
#define I(n) OnigSpecialIndexEncode(n)
#define L(n) SpecialsLengthEncode(n)
#include "enc/unicode/casefold.h"
#undef U
#undef D
#undef F
@@ -173,6 +176,7 @@ code3_equal(const OnigCodePoint *x, const OnigCodePoint *y)
#undef IT
#undef I
#undef L
#include "enc/unicode/name2ctype.h"