Unicode 10.0.0

This commit is contained in:
tg 2017-07-08 15:11:52 +00:00
parent ed36b0956d
commit ac262e5395
1 changed files with 7 additions and 5 deletions

12
expr.c
View File

@ -23,7 +23,7 @@
#include "sh.h" #include "sh.h"
__RCSID("$MirOS: src/bin/mksh/expr.c,v 1.98 2017/05/05 22:53:28 tg Exp $"); __RCSID("$MirOS: src/bin/mksh/expr.c,v 1.99 2017/07/08 15:11:52 tg Exp $");
#define EXPRTOK_DEFNS #define EXPRTOK_DEFNS
#include "exprtok.h" #include "exprtok.h"
@ -872,7 +872,7 @@ ksh_access(const char *fn, int mode)
} }
#ifndef MIRBSD_BOOTFLOPPY #ifndef MIRBSD_BOOTFLOPPY
/* From: X11/xc/programs/xterm/wcwidth.c,v 1.9 */ /* From: X11/xc/programs/xterm/wcwidth.c,v 1.10 */
struct mb_ucsrange { struct mb_ucsrange {
unsigned short beg; unsigned short beg;
@ -883,7 +883,7 @@ static int mb_ucsbsearch(const struct mb_ucsrange arr[], size_t elems,
unsigned int val) MKSH_A_PURE; unsigned int val) MKSH_A_PURE;
/* /*
* Generated from the Unicode Character Database, Version 9.0.0, by * Generated from the Unicode Character Database, Version 10.0.0, by
* MirOS: contrib/code/Snippets/eawparse,v 1.3 2014/11/16 12:16:24 tg Exp $ * MirOS: contrib/code/Snippets/eawparse,v 1.3 2014/11/16 12:16:24 tg Exp $
*/ */
@ -940,6 +940,7 @@ static const struct mb_ucsrange mb_ucs_combining[] = {
{ 0x0AC7, 0x0AC8 }, { 0x0AC7, 0x0AC8 },
{ 0x0ACD, 0x0ACD }, { 0x0ACD, 0x0ACD },
{ 0x0AE2, 0x0AE3 }, { 0x0AE2, 0x0AE3 },
{ 0x0AFA, 0x0AFF },
{ 0x0B01, 0x0B01 }, { 0x0B01, 0x0B01 },
{ 0x0B3C, 0x0B3C }, { 0x0B3C, 0x0B3C },
{ 0x0B3F, 0x0B3F }, { 0x0B3F, 0x0B3F },
@ -962,7 +963,8 @@ static const struct mb_ucsrange mb_ucs_combining[] = {
{ 0x0CC6, 0x0CC6 }, { 0x0CC6, 0x0CC6 },
{ 0x0CCC, 0x0CCD }, { 0x0CCC, 0x0CCD },
{ 0x0CE2, 0x0CE3 }, { 0x0CE2, 0x0CE3 },
{ 0x0D01, 0x0D01 }, { 0x0D00, 0x0D01 },
{ 0x0D3B, 0x0D3C },
{ 0x0D41, 0x0D44 }, { 0x0D41, 0x0D44 },
{ 0x0D4D, 0x0D4D }, { 0x0D4D, 0x0D4D },
{ 0x0D62, 0x0D63 }, { 0x0D62, 0x0D63 },
@ -1047,7 +1049,7 @@ static const struct mb_ucsrange mb_ucs_combining[] = {
{ 0x1CED, 0x1CED }, { 0x1CED, 0x1CED },
{ 0x1CF4, 0x1CF4 }, { 0x1CF4, 0x1CF4 },
{ 0x1CF8, 0x1CF9 }, { 0x1CF8, 0x1CF9 },
{ 0x1DC0, 0x1DF5 }, { 0x1DC0, 0x1DF9 },
{ 0x1DFB, 0x1DFF }, { 0x1DFB, 0x1DFF },
{ 0x200B, 0x200F }, { 0x200B, 0x200F },
{ 0x202A, 0x202E }, { 0x202A, 0x202E },