summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.c
diff options
context:
space:
mode:
authorandreask@activestate.com <andreas_kupries>2010-02-02 20:51:46 (GMT)
committerandreask@activestate.com <andreas_kupries>2010-02-02 20:51:46 (GMT)
commit570efc61544179085dfd350eb001bbed84bd2303 (patch)
tree3ca1c2995c8b6641353777becad5e1ee42dd781a /generic/tclCompile.c
parent4e81280938298c3c37175265fe28e6e9f5bd8b7a (diff)
downloadtcl-570efc61544179085dfd350eb001bbed84bd2303.zip
tcl-570efc61544179085dfd350eb001bbed84bd2303.tar.gz
tcl-570efc61544179085dfd350eb001bbed84bd2303.tar.bz2
* generic/tclCompile.c: [Bug 2933089]: A literal sharing problem with
* generic/tclCompile.h: 'info frame' affects not only 8.6 but 8.5 as * generic/tclExecute.h: well. Backported the fix done in 8.6, without * tests/info.test: changes. New testcase info-39.1.
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r--generic/tclCompile.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c
index 5f4a5a2..0e0333f 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.146.2.12 2009/08/26 02:26:14 dgp Exp $
+ * RCS: @(#) $Id: tclCompile.c,v 1.146.2.13 2010/02/02 20:51:46 andreas_kupries Exp $
*/
#include "tclInt.h"
@@ -1003,6 +1003,8 @@ TclInitCompileEnv(
TclStackFree(interp, ctxPtr);
}
+ envPtr->extCmdMapPtr->start = envPtr->line;
+
/*
* Initialize the data about invisible continuation lines as empty,
* i.e. not used. The caller (TclSetByteCodeFromAny) will set this up, if