summaryrefslogtreecommitdiffstats
path: root/generic/regcustom.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-03-16 21:10:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-03-16 21:10:20 (GMT)
commitbc2c8431fc3b9961eabac2d1d2dd19f4325ce0a9 (patch)
treefadd915985c2810d77c7d8558fe2d51260975db9 /generic/regcustom.h
parent842878d2d0eee1bafcd57bc809ddac15b27c0510 (diff)
parent2ff70c01f60ef1dbb586489d97b1f36368ad6741 (diff)
downloadtcl-bc2c8431fc3b9961eabac2d1d2dd19f4325ce0a9.zip
tcl-bc2c8431fc3b9961eabac2d1d2dd19f4325ce0a9.tar.gz
tcl-bc2c8431fc3b9961eabac2d1d2dd19f4325ce0a9.tar.bz2
Merge 8.7
Move up some stub entries related to Tcl_UniChar Use TCL_UTF_MAX=4 for full Unicode in stead of TCL_UTF_MAX=6 (TCL_UTF_MAX: 3 is default)
Diffstat (limited to 'generic/regcustom.h')
-rw-r--r--generic/regcustom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/regcustom.h b/generic/regcustom.h
index 095385d..e4db7cb 100644
--- a/generic/regcustom.h
+++ b/generic/regcustom.h
@@ -88,7 +88,7 @@ typedef int celt; /* Type to hold chr, or NOCELT */
#define NOCELT (-1) /* Celt value which is not valid chr */
#define CHR(c) (UCHAR(c)) /* Turn char literal into chr literal */
#define DIGITVAL(c) ((c)-'0') /* Turn chr digit into its value */
-#if TCL_UTF_MAX > 4
+#if TCL_UTF_MAX > 3
#define CHRBITS 32 /* Bits in a chr; must not use sizeof */
#define CHR_MIN 0x00000000 /* Smallest and largest chr; the value */
#define CHR_MAX 0x10ffff /* CHR_MAX-CHR_MIN+1 should fit in uchr */