diff options
Diffstat (limited to 'src/iso8859_15.c')
| -rw-r--r-- | src/iso8859_15.c | 28 | 
1 files changed, 1 insertions, 27 deletions
| diff --git a/src/iso8859_15.c b/src/iso8859_15.c index 859d727..f32c3de 100644 --- a/src/iso8859_15.c +++ b/src/iso8859_15.c @@ -2,7 +2,7 @@    iso8859_15.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 @@ -121,32 +121,6 @@ mbc_case_fold(OnigCaseFoldType flag,    return 1; /* return byte length of converted char to lower */  } -#if 0 -static int -is_mbc_ambiguous(OnigCaseFoldType flag, const UChar** pp, const UChar* end) -{ -  int v; -  const UChar* p = *pp; - -  if (*p == 0xdf && (flag & INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR) != 0) { -    (*pp)++; -    return TRUE; -  } - -  (*pp)++; -  v = (EncISO_8859_15_CtypeTable[*p] & (BIT_CTYPE_UPPER | BIT_CTYPE_LOWER)); -  if ((v | BIT_CTYPE_LOWER) != 0) { -    /* 0xdf etc.. are lower case letter, but can't convert. */ -    if (*p == 0xaa || *p == 0xb5 || *p == 0xba) -      return FALSE; -    else -      return TRUE; -  } - -  return (v != 0 ? TRUE : FALSE); -} -#endif -  static int  is_code_ctype(OnigCodePoint code, unsigned int ctype)  { | 
