summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.c
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2003-04-18 21:54:24 (GMT)
committerdgp@users.sourceforge.net <dgp>2003-04-18 21:54:24 (GMT)
commit67e62bd8f40a3fa6024855590ab28b58c6f2c527 (patch)
treee28df8726c044274b10d699802487600a2b7021a /generic/tclCompile.c
parent0570d71373a648b8fab86e489b4177ac46bb5c31 (diff)
downloadtcl-67e62bd8f40a3fa6024855590ab28b58c6f2c527.zip
tcl-67e62bd8f40a3fa6024855590ab28b58c6f2c527.tar.gz
tcl-67e62bd8f40a3fa6024855590ab28b58c6f2c527.tar.bz2
Corrected bogus comments
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r--generic/tclCompile.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c
index 19f1e25..46628b1 100644
--- a/generic/tclCompile.c
+++ b/generic/tclCompile.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclCompile.c,v 1.43.2.1 2003/03/19 22:53:11 msofer Exp $
+ * RCS: @(#) $Id: tclCompile.c,v 1.43.2.2 2003/04/18 21:54:24 dgp Exp $
*/
#include "tclInt.h"
@@ -1462,15 +1462,10 @@ TclCompileExprWords(interp, tokenPtr, numWords, envPtr)
/*
* If the expression is a single word that doesn't require
- * substitutions, just compile it's string into inline instructions.
+ * substitutions, just compile its string into inline instructions.
*/
if ((numWords == 1) && (tokenPtr->type == TCL_TOKEN_SIMPLE_WORD)) {
- /*
- * Temporarily overwrite the character just after the end of the
- * string with a 0 byte.
- */
-
script = tokenPtr[1].start;
numBytes = tokenPtr[1].size;
code = TclCompileExpr(interp, script, numBytes, envPtr);