diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2007-06-15 22:58:48 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2007-06-15 22:58:48 (GMT) |
commit | 16200300c2d8029b5202c3aacd1263784cbd067a (patch) | |
tree | dfc62b38074891ca905e408b8bf941db24453e36 /generic/tclCompCmds.c | |
parent | 0ea1a219a60d3bc60a8ee100c215597ee9d3e9d7 (diff) | |
download | tcl-16200300c2d8029b5202c3aacd1263784cbd067a.zip tcl-16200300c2d8029b5202c3aacd1263784cbd067a.tar.gz tcl-16200300c2d8029b5202c3aacd1263784cbd067a.tar.bz2 |
* generic/tclCompCmds.c: Simplified [variable] compiler and
* generic/tclExecute.c: executor. Missed updates to "there is
always a valid frame".
Diffstat (limited to 'generic/tclCompCmds.c')
-rw-r--r-- | generic/tclCompCmds.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/generic/tclCompCmds.c b/generic/tclCompCmds.c index 8651432..952f4bd 100644 --- a/generic/tclCompCmds.c +++ b/generic/tclCompCmds.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCompCmds.c,v 1.109 2007/04/23 19:04:42 kennykb Exp $ + * RCS: @(#) $Id: tclCompCmds.c,v 1.110 2007/06/15 22:58:48 msofer Exp $ */ #include "tclInt.h" @@ -5637,7 +5637,6 @@ TclCompileVariableCmd( * created by Tcl_ParseCommand. */ CompileEnv *envPtr) /* Holds resulting instructions. */ { - Interp *iPtr = (Interp *) interp; Tcl_Token *varTokenPtr, *valueTokenPtr; int localIndex, numWords, i; DefineLineInformation; /* TIP #280 */ @@ -5656,13 +5655,6 @@ TclCompileVariableCmd( } /* - * Push the namespace: it is the namespace corresponding to the current - * compilation. - */ - - PushLiteral(envPtr, iPtr->varFramePtr->nsPtr->fullName,-1); - - /* * Loop over the (var, value) pairs. */ @@ -5692,10 +5684,9 @@ TclCompileVariableCmd( } /* - * Pop the namespace, and set the result to empty + * Set the result to empty */ - TclEmitOpcode(INST_POP, envPtr); PushLiteral(envPtr, "", 0); return TCL_OK; } |