summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2011-03-06 21:40:49 (GMT)
committerdgp <dgp@users.sourceforge.net>2011-03-06 21:40:49 (GMT)
commita083ddc8208f8e9f625ef92db90f941262a260a6 (patch)
tree1e5dfeeb51ead4be18b7b7c5b8ea728553409480 /generic/tclBasic.c
parent030be92318aa1d4b37a84fae9614fe5a77f890ba (diff)
downloadtcl-a083ddc8208f8e9f625ef92db90f941262a260a6.zip
tcl-a083ddc8208f8e9f625ef92db90f941262a260a6.tar.gz
tcl-a083ddc8208f8e9f625ef92db90f941262a260a6.tar.bz2
* generic/tclBasic.c: More replacements of Tcl_UtfBackslash() calls
* generic/tclCmdMZ.c: with TclParseBackslash() where possible. * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclUtil.c:
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index 60cd23a..1c72e1b 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -3647,8 +3647,8 @@ EvalTokensStandard(interp, tokenPtr, count, line, clNextOuter, outerScript)
break;
case TCL_TOKEN_BS:
- length = Tcl_UtfBackslash(tokenPtr->start, (int *) NULL,
- buffer);
+ length = TclParseBackslash(tokenPtr->start, tokenPtr->size,
+ (int *) NULL, buffer);
p = buffer;
#ifdef TCL_TIP280
/*
@@ -4510,7 +4510,7 @@ TclAdvanceContinuations (line,clNextPtrPtr,loc)
/*
* Track the invisible continuation lines embedded in a script, if
* any. Here they are just spaces (already). They were removed by
- * EvalTokensStandard() via Tcl_UtfBackslash().
+ * EvalTokensStandard() via TclParseBackslash().
*
* *clNextPtrPtr <=> We have continuation lines to track.
* **clNextPtrPtr >= 0 <=> We are not beyond the last possible location.