diff options
| author | Kirill Volinsky <Mataes2007@gmail.com> | 2017-11-29 12:27:04 +0300 |
|---|---|---|
| committer | Kirill Volinsky <Mataes2007@gmail.com> | 2017-11-29 12:27:04 +0300 |
| commit | 4b47e5a4bb656ebb5bd493d1ad6f79eaf4f298e1 (patch) | |
| tree | e3cd7797bb7bff6375e3c93e614eb41620371c70 /libs/Pcre16/src/pcre_ucd.c | |
| parent | 89f3cf8bbb9dc1fa0fe72f6af6638ac086c7e011 (diff) | |
Pcre16: lib updated to 8.41
Diffstat (limited to 'libs/Pcre16/src/pcre_ucd.c')
| -rw-r--r-- | libs/Pcre16/src/pcre_ucd.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libs/Pcre16/src/pcre_ucd.c b/libs/Pcre16/src/pcre_ucd.c index 69c4fd42c3..f22f826c4c 100644 --- a/libs/Pcre16/src/pcre_ucd.c +++ b/libs/Pcre16/src/pcre_ucd.c @@ -38,6 +38,20 @@ const pcre_uint16 PRIV(ucd_stage2)[] = {0}; const pcre_uint32 PRIV(ucd_caseless_sets)[] = {0}; #else +/* If the 32-bit library is run in non-32-bit mode, character values +greater than 0x10ffff may be encountered. For these we set up a +special record. */ + +#ifdef COMPILE_PCRE32 +const ucd_record PRIV(dummy_ucd_record)[] = {{ + ucp_Common, /* script */ + ucp_Cn, /* type unassigned */ + ucp_gbOther, /* grapheme break property */ + 0, /* case set */ + 0, /* other case */ + }}; +#endif + /* When recompiling tables with a new Unicode version, please check the types in this structure definition from pcre_internal.h (the actual field names will be different): |
