diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2019-11-29 11:26:35 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2019-11-29 11:26:35 +0100 |
commit | 4216de6a3336cbc6dddb572cb7e6ab6193bf3729 (patch) | |
tree | 327a40dae71db474527a1281a205cc2ebddb2ce6 /src/koi8.c | |
parent | 40f3d0030e6e98bcb02d6523e5ee48497dec49a6 (diff) |
New upstream version 6.9.4upstream/6.9.4
Diffstat (limited to 'src/koi8.c')
-rw-r--r-- | src/koi8.c | 21 |
1 files changed, 1 insertions, 20 deletions
@@ -2,7 +2,7 @@ koi8.c - Oniguruma (regular expression library) **********************************************************************/ /*- - * Copyright (c) 2002-2018 K.Kosako <sndgk393 AT ybb DOT ne DOT jp> + * Copyright (c) 2002-2019 K.Kosako * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -115,25 +115,6 @@ koi8_mbc_case_fold(OnigCaseFoldType flag ARG_UNUSED, return 1; } -#if 0 -static int -koi8_is_mbc_ambiguous(OnigAmbigType flag, const OnigUChar** pp, const OnigUChar* end) -{ - const OnigUChar* p = *pp; - - (*pp)++; - if (((flag & ONIGENC_CASE_FOLD_ASCII_CASE) != 0 && - ONIGENC_IS_MBC_ASCII(p)) || - ((flag & ONIGENC_CASE_FOLD_NONASCII_CASE) != 0 && - !ONIGENC_IS_MBC_ASCII(p))) { - int v = (EncKOI8_CtypeTable[*p] & - (BIT_CTYPE_UPPER | BIT_CTYPE_LOWER)); - return (v != 0 ? TRUE : FALSE); - } - return FALSE; -} -#endif - static int koi8_is_code_ctype(OnigCodePoint code, unsigned int ctype) { |