summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-02 21:12:14 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-02-02 21:12:14 (GMT)
commit02b3c85edaf8ff8a0878716a4b426629fceb32ac (patch)
tree79d9f3b18ce8dfc7bf1cafd47c71846778702ab7 /tools
parentbb750df4b42a35f9bc9ebd37914a8ac6c91d2a09 (diff)
parentc38d07a84806fed9a98b05707cec411170a3255d (diff)
downloadtcl-02b3c85edaf8ff8a0878716a4b426629fceb32ac.zip
tcl-02b3c85edaf8ff8a0878716a4b426629fceb32ac.tar.gz
tcl-02b3c85edaf8ff8a0878716a4b426629fceb32ac.tar.bz2
[Frq 3464401] Support Unicode 6.1
Diffstat (limited to 'tools')
-rw-r--r--tools/uniClass.tcl4
-rw-r--r--tools/uniParse.tcl2
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/uniClass.tcl b/tools/uniClass.tcl
index f741434..6d24090 100644
--- a/tools/uniClass.tcl
+++ b/tools/uniClass.tcl
@@ -20,7 +20,7 @@ proc emitRange {first last} {
set extranges 1
set numranges 0
set ranges [string trimright $ranges " \n\r\t,"]
- append ranges "\n#if MAX_UTF_CHAR > 4\n ,"
+ append ranges "\n#if TCL_UTF_MAX > 4\n ,"
}
append ranges [format "{0x%x, 0x%x}, " \
$first $last]
@@ -33,7 +33,7 @@ proc emitRange {first last} {
set extchars 1
set numchars 0
set chars [string trimright $chars " \n\r\t,"]
- append chars "\n#if MAX_UTF_CHAR > 4\n ,"
+ append chars "\n#if TCL_UTF_MAX > 4\n ,"
}
append chars [format "0x%x, " $first]
incr numchars
diff --git a/tools/uniParse.tcl b/tools/uniParse.tcl
index 86f6d04..947dae4 100644
--- a/tools/uniParse.tcl
+++ b/tools/uniParse.tcl
@@ -337,7 +337,7 @@ static CONST int groups\[\] = {"
puts $f $line
puts -nonewline $f "};
-#if UTF_MAX_LEN > 3
+#if TCL_UTF_MAX > 3
# define UNICODE_OUT_OF_RANGE(ch) (((ch) & 0x1fffff) >= [format 0x%x $next])
#else
# define UNICODE_OUT_OF_RANGE(ch) (((ch) & 0x1f0000) != 0)