summaryrefslogtreecommitdiffstats
path: root/generic/tclCompExpr.c
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2017-07-10 11:31:03 (GMT)
committersebres <sebres@users.sourceforge.net>2017-07-10 11:31:03 (GMT)
commitce2632231521ea73edf746feb8440d55299fd816 (patch)
tree325b6dcdd9fd437611656cb8bfcc88723b4832b1 /generic/tclCompExpr.c
parent10c4411b959259a23acf9d979fe3faf06d177288 (diff)
parentdaaac6f4c23110b1489e943f514c4b8befc14b2d (diff)
downloadtcl-ce2632231521ea73edf746feb8440d55299fd816.zip
tcl-ce2632231521ea73edf746feb8440d55299fd816.tar.gz
tcl-ce2632231521ea73edf746feb8440d55299fd816.tar.bz2
merge core-8-6-branch
Diffstat (limited to 'generic/tclCompExpr.c')
-rw-r--r--generic/tclCompExpr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCompExpr.c b/generic/tclCompExpr.c
index 4390282..59eecf9 100644
--- a/generic/tclCompExpr.c
+++ b/generic/tclCompExpr.c
@@ -2064,13 +2064,13 @@ ParseLexeme(
if (!TclIsBareword(*start) || *start == '_') {
if (Tcl_UtfCharComplete(start, numBytes)) {
- scanned = Tcl_UtfToUniChar(start, &ch);
+ scanned = TclUtfToUniChar(start, &ch);
} else {
char utfBytes[TCL_UTF_MAX];
memcpy(utfBytes, start, (size_t) numBytes);
utfBytes[numBytes] = '\0';
- scanned = Tcl_UtfToUniChar(utfBytes, &ch);
+ scanned = TclUtfToUniChar(utfBytes, &ch);
}
*lexemePtr = INVALID;
Tcl_DecrRefCount(literal);