diff options
| author | Miguel Sofer <miguel.sofer@gmail.com> | 2003-05-09 13:42:38 (GMT) |
|---|---|---|
| committer | Miguel Sofer <miguel.sofer@gmail.com> | 2003-05-09 13:42:38 (GMT) |
| commit | ef1c7bdd6c213efa7b8f227928c3e0ffa3d4ab97 (patch) | |
| tree | 5cffdf6d9686de27cf87a1144ab442a5833d2216 /generic/tclCompile.c | |
| parent | 5fb85366885d86d6351735edff908c0199bf64d6 (diff) | |
| download | tcl-ef1c7bdd6c213efa7b8f227928c3e0ffa3d4ab97.zip tcl-ef1c7bdd6c213efa7b8f227928c3e0ffa3d4ab97.tar.gz tcl-ef1c7bdd6c213efa7b8f227928c3e0ffa3d4ab97.tar.bz2 | |
fix for [Bug 735055]
Diffstat (limited to 'generic/tclCompile.c')
| -rw-r--r-- | generic/tclCompile.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c index b492e3b..c781814 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.47 2003/04/18 21:54:51 dgp Exp $ + * RCS: @(#) $Id: tclCompile.c,v 1.48 2003/05/09 13:42:39 msofer Exp $ */ #include "tclInt.h" @@ -930,6 +930,7 @@ TclCompileScript(interp, script, numBytes, envPtr) && !(cmdPtr->flags & CMD_HAS_EXEC_TRACES) && !(iPtr->flags & DONT_COMPILE_CMDS_INLINE)) { int savedNumCmds = envPtr->numCommands; + int savedCodeNext = envPtr->codeNext; code = (*(cmdPtr->compileProc))(interp, &parse, envPtr); @@ -942,6 +943,7 @@ TclCompileScript(interp, script, numBytes, envPtr) * [Bug 705406] */ envPtr->numCommands = savedNumCmds; + envPtr->codeNext = savedCodeNext; } else { /* an error */ /* * There was a compilation error, the last |
