summaryrefslogtreecommitdiffstats
path: root/generic/regc_lex.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-02-11 13:31:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-02-11 13:31:32 (GMT)
commit45f6edc21e0f3f370e2a889906b20a1c61620096 (patch)
treeae2425500b66f54e715d5e8081bcb386e6ffaf75 /generic/regc_lex.c
parent55b841549a2eb9417ce8f862a375f4d463d09d33 (diff)
downloadtcl-45f6edc21e0f3f370e2a889906b20a1c61620096.zip
tcl-45f6edc21e0f3f370e2a889906b20a1c61620096.tar.gz
tcl-45f6edc21e0f3f370e2a889906b20a1c61620096.tar.bz2
Update all tables to [http://unicode.org/versions/Unicode13.0.0/|Unicode 13] (to be released March 10, 2020)
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 d299b49..a303ec6 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;
}