diff options
Diffstat (limited to 'enc/ascii.c')
-rw-r--r-- | enc/ascii.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/enc/ascii.c b/enc/ascii.c index 3a40ad68be..f9a619d700 100644 --- a/enc/ascii.c +++ b/enc/ascii.c @@ -29,15 +29,6 @@ #include "regenc.h" -static int -ascii_is_code_ctype(OnigCodePoint code, unsigned int ctype, OnigEncoding enc) -{ - if (code < 128) - return ONIGENC_IS_ASCII_CODE_CTYPE(code, ctype); - else - return FALSE; -} - OnigEncodingDefine(ascii, ASCII) = { onigenc_single_byte_mbc_enc_len, "ASCII-8BIT",/* name */ @@ -51,7 +42,7 @@ OnigEncodingDefine(ascii, ASCII) = { onigenc_ascii_apply_all_case_fold, onigenc_ascii_get_case_fold_codes_by_str, onigenc_minimum_property_name_to_ctype, - ascii_is_code_ctype, + onigenc_ascii_is_code_ctype, onigenc_not_support_get_ctype_code_range, onigenc_single_byte_left_adjust_char_head, onigenc_always_true_is_allowed_reverse_match |