summaryrefslogtreecommitdiff
path: root/src/utf8.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-05-02 17:29:00 +0200
committerJörg Frings-Fürst <debian@jff.email>2018-05-02 17:29:00 +0200
commit7f5dccbe5fee224ecfeceec6e206cca67ad58452 (patch)
tree2891c20f6f89a6a9ca7a967ca2245c0f8370d5b4 /src/utf8.c
parentfd4ff4e58174679784d7698880717eefc9399ba7 (diff)
parent83ea1be016fd5fc27ee721cf62a18716675815dc (diff)
Update upstream source from tag 'upstream/6.8.2'
Update to upstream version '6.8.2' with Debian dir 36d9b721af0175dd84faa77cc24739097d03e9bb
Diffstat (limited to 'src/utf8.c')
-rw-r--r--src/utf8.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/utf8.c b/src/utf8.c
index a5c4dbe..22a8db1 100644
--- a/src/utf8.c
+++ b/src/utf8.c
@@ -29,7 +29,7 @@
#include "regenc.h"
-//#define USE_INVALID_CODE_SCHEME
+/* #define USE_INVALID_CODE_SCHEME */
#ifdef USE_INVALID_CODE_SCHEME
/* virtual codepoint values for invalid encoding byte 0xfe and 0xff */
@@ -296,5 +296,7 @@ OnigEncodingType OnigEncodingUTF8 = {
onigenc_always_true_is_allowed_reverse_match,
NULL, /* init */
NULL, /* is_initialized */
- is_valid_mbc_string
+ is_valid_mbc_string,
+ ENC_FLAG_ASCII_COMPATIBLE|ENC_FLAG_UNICODE,
+ 0, 0
};