summaryrefslogtreecommitdiffstats
path: root/generic/regc_lex.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-05 14:39:23 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-05 14:39:23 (GMT)
commit9cc797aba7f6ef3f4caf90cb11ba7ce76f103f88 (patch)
tree76440436dd43495a018c69afbea3090c37ab3ff9 /generic/regc_lex.c
parent38aabeeca86a4a08cdf5def1c47588c02aafcf9c (diff)
parent36d1b8447caf0aba9a4adf65b13029f35f89c0d9 (diff)
downloadtcl-9cc797aba7f6ef3f4caf90cb11ba7ce76f103f88.zip
tcl-9cc797aba7f6ef3f4caf90cb11ba7ce76f103f88.tar.gz
tcl-9cc797aba7f6ef3f4caf90cb11ba7ce76f103f88.tar.bz2
Update to Unicode-13
Diffstat (limited to 'generic/regc_lex.c')
-rw-r--r--generic/regc_lex.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/generic/regc_lex.c b/generic/regc_lex.c
index fba2fc7..1b00b71 100644
--- a/generic/regc_lex.c
+++ b/generic/regc_lex.c
@@ -259,15 +259,15 @@ static const chr brbacks[] = { /* \s within brackets */
#define PUNCT_CONN \
CHR('_'), \
- 0x203f /* UNDERTIE */, \
+ 0x203F /* UNDERTIE */, \
0x2040 /* CHARACTER TIE */,\
0x2054 /* INVERTED UNDERTIE */,\
- 0xfe33 /* PRESENTATION FORM FOR VERTICAL LOW LINE */, \
- 0xfe34 /* PRESENTATION FORM FOR VERTICAL WAVY LOW LINE */, \
- 0xfe4d /* DASHED LOW LINE */, \
- 0xfe4e /* CENTRELINE LOW LINE */, \
- 0xfe4f /* WAVY LOW LINE */, \
- 0xff3f /* FULLWIDTH LOW LINE */
+ 0xFE33 /* PRESENTATION FORM FOR VERTICAL LOW LINE */, \
+ 0xFE34 /* PRESENTATION FORM FOR VERTICAL WAVY LOW LINE */, \
+ 0xFE4D /* DASHED LOW LINE */, \
+ 0xFE4E /* CENTRELINE LOW LINE */, \
+ 0xFE4F /* WAVY LOW LINE */, \
+ 0xFF3F /* FULLWIDTH LOW LINE */
static const chr backw[] = { /* \w */
CHR('['), CHR('['), CHR(':'),
@@ -914,7 +914,7 @@ lexescape(
if (ISERR()) {
FAILW(REG_EESCAPE);
}
- if (c > 0xff) {
+ if (c > 0xFF) {
/* out of range, so we handled one digit too much */
v->now--;
c >>= 3;
@@ -948,7 +948,7 @@ lexdigits(
n = 0;
for (len = 0; len < maxlen && !ATEOS(); len++) {
- if (n > 0x10fff) {
+ if (n > 0x10FFF) {
/* Stop when continuing would otherwise overflow */
break;
}