summaryrefslogtreecommitdiffstats
path: root/generic/tclCompExpr.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2010-04-29 23:39:32 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2010-04-29 23:39:32 (GMT)
commit86ab7e21814dcb7876a4002e7bb8f582cc5fb606 (patch)
treee43c3dcb657d68ea7a183a4b50ebdd353d55a73a /generic/tclCompExpr.c
parent4afa4db89195f756601d2fd640f605e4eb1896cd (diff)
downloadtcl-86ab7e21814dcb7876a4002e7bb8f582cc5fb606.zip
tcl-86ab7e21814dcb7876a4002e7bb8f582cc5fb606.tar.gz
tcl-86ab7e21814dcb7876a4002e7bb8f582cc5fb606.tar.bz2
* generic/tclCompExpr.c: Slight change in the literal sharing
* generic/tclCompile.c: mechanism to avoid shimmering of * generic/tclCompile.h: command names. * generic/tclLiteral.c:
Diffstat (limited to 'generic/tclCompExpr.c')
-rw-r--r--generic/tclCompExpr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCompExpr.c b/generic/tclCompExpr.c
index 8bfd116..eb72a45 100644
--- a/generic/tclCompExpr.c
+++ b/generic/tclCompExpr.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclCompExpr.c,v 1.104 2010/03/05 14:34:04 dkf Exp $
+ * RCS: @(#) $Id: tclCompExpr.c,v 1.105 2010/04/29 23:39:32 msofer Exp $
*/
#include "tclInt.h"
@@ -2209,7 +2209,7 @@ CompileExprTree(
p = TclGetStringFromObj(*funcObjv, &length);
funcObjv++;
Tcl_DStringAppend(&cmdName, p, length);
- TclEmitPush(TclRegisterNewNSLiteral(envPtr,
+ TclEmitPush(TclRegisterNewCmdLiteral(envPtr,
Tcl_DStringValue(&cmdName),
Tcl_DStringLength(&cmdName)), envPtr);
Tcl_DStringFree(&cmdName);