summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2003-04-18 21:54:24 (GMT)
committerdgp <dgp@users.sourceforge.net>2003-04-18 21:54:24 (GMT)
commit8eca645a8d81346e1c4d39a5868058c4c0a92e35 (patch)
treee28df8726c044274b10d699802487600a2b7021a
parent8eeb1a27131c17ff236b9dd6ab105fdcafe79b51 (diff)
downloadtcl-8eca645a8d81346e1c4d39a5868058c4c0a92e35.zip
tcl-8eca645a8d81346e1c4d39a5868058c4c0a92e35.tar.gz
tcl-8eca645a8d81346e1c4d39a5868058c4c0a92e35.tar.bz2
Corrected bogus comments
-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);