diff options
| author | dgp <dgp@users.sourceforge.net> | 2011-03-07 14:55:52 (GMT) |
|---|---|---|
| committer | dgp <dgp@users.sourceforge.net> | 2011-03-07 14:55:52 (GMT) |
| commit | b1c2f2c9c6fcb329f1e23f9f5f1ef53c84b01bae (patch) | |
| tree | 871426a91a1ab5e0e8b02b1efaf97c446bb19a7b /generic/tclCompile.c | |
| parent | bc0ce06bc7fe8a1bfc555fe2025b979c17136564 (diff) | |
| download | tcl-b1c2f2c9c6fcb329f1e23f9f5f1ef53c84b01bae.zip tcl-b1c2f2c9c6fcb329f1e23f9f5f1ef53c84b01bae.tar.gz tcl-b1c2f2c9c6fcb329f1e23f9f5f1ef53c84b01bae.tar.bz2 | |
merge trunk + partial improvements to comments
Diffstat (limited to 'generic/tclCompile.c')
| -rw-r--r-- | generic/tclCompile.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c index 6b00a0e..f2c4fdc 100644 --- a/generic/tclCompile.c +++ b/generic/tclCompile.c @@ -1136,7 +1136,8 @@ TclWordKnownAtCompileTime( case TCL_TOKEN_BS: if (tempPtr != NULL) { char utfBuf[TCL_UTF_MAX]; - int length = Tcl_UtfBackslash(tokenPtr->start, NULL, utfBuf); + int length = TclParseBackslash(tokenPtr->start, + tokenPtr->size, NULL, utfBuf); Tcl_AppendToObj(tempPtr, utfBuf, length); } break; @@ -1667,7 +1668,7 @@ TclCompileTokens( * any. The table is extended if needed. * * Note: Different to the equivalent code in function - * 'EvalTokensStandard()' (see file "tclBasic.c") we do not seem to need + * 'TclSubstTokens()' (see file "tclParse.c") we do not seem to need * the 'adjust' variable. We also do not seem to need code which merges * continuation line information of multiple words which concat'd at * runtime. Either that or I have not managed to find a test case for @@ -1700,7 +1701,8 @@ TclCompileTokens( break; case TCL_TOKEN_BS: - length = Tcl_UtfBackslash(tokenPtr->start, NULL, buffer); + length = TclParseBackslash(tokenPtr->start, tokenPtr->size, + NULL, buffer); Tcl_DStringAppend(&textBuffer, buffer, length); /* |
