summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-12-22 15:35:47 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-12-22 15:35:47 (GMT)
commit13667e8096fd5ac12f24949644396d9eb0a12620 (patch)
tree7c4617105cac815c3aa69f8d5ac0d63196d69d91
parentf6d6b394ebc2f2b0bfc50edf3a14fb5e4414e8f7 (diff)
downloadtcl-13667e8096fd5ac12f24949644396d9eb0a12620.zip
tcl-13667e8096fd5ac12f24949644396d9eb0a12620.tar.gz
tcl-13667e8096fd5ac12f24949644396d9eb0a12620.tar.bz2
One more (interp==NULL) shortcut.
-rw-r--r--generic/tclCompCmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCompCmds.c b/generic/tclCompCmds.c
index b3568e8..106c293 100644
--- a/generic/tclCompCmds.c
+++ b/generic/tclCompCmds.c
@@ -4826,7 +4826,7 @@ PushVarName(
}
}
- if ((elName != NULL) && elNameChars) {
+ if (interp && (elName != NULL) && elNameChars) {
/*
* An array element, the element name is a simple string:
* assemble the corresponding token.