summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmdsSZ.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2011-03-06 22:33:01 (GMT)
committerdgp <dgp@users.sourceforge.net>2011-03-06 22:33:01 (GMT)
commit2974197dc80bf11f3de2283e0a2275242eeba099 (patch)
treedba041e4a0b7494a00e6c28357073b27feb6d9c9 /generic/tclCompCmdsSZ.c
parent42a0f5eabc531da30fc887e4c56cca4fdfd41d35 (diff)
parent590b69308f62e20ef06bc1dddb80c910187ec9a0 (diff)
downloadtcl-2974197dc80bf11f3de2283e0a2275242eeba099.zip
tcl-2974197dc80bf11f3de2283e0a2275242eeba099.tar.gz
tcl-2974197dc80bf11f3de2283e0a2275242eeba099.tar.bz2
* generic/tclBasic.c: More replacements of Tcl_UtfBackslash() calls
* generic/tclCompile.c: with TclParseBackslash() where possible. * generic/tclCompCmdsSZ.c: * generic/tclParse.c: * generic/tclUtil.c:
Diffstat (limited to 'generic/tclCompCmdsSZ.c')
-rw-r--r--generic/tclCompCmdsSZ.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclCompCmdsSZ.c b/generic/tclCompCmdsSZ.c
index d0f9764..7398579 100644
--- a/generic/tclCompCmdsSZ.c
+++ b/generic/tclCompCmdsSZ.c
@@ -688,7 +688,8 @@ TclSubstCompile(
count++;
continue;
case TCL_TOKEN_BS:
- length = Tcl_UtfBackslash(tokenPtr->start, NULL, buf);
+ length = TclParseBackslash(tokenPtr->start, tokenPtr->size,
+ NULL, buf);
literal = TclRegisterNewLiteral(envPtr, buf, length);
TclEmitPush(literal, envPtr);
count++;