summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authorandreask <andreask>2011-05-17 21:38:46 (GMT)
committerandreask <andreask>2011-05-17 21:38:46 (GMT)
commit305650f1080fae0aea9e332254c68e54b6ec52c1 (patch)
treeb5e7c39efe55151da282aae8a06fc6d25a81b1e5 /generic/tclBasic.c
parent525e8327035d58f720479724c2e40e65f9bbf3da (diff)
parentb1afef184bd6e770f5f2f45c2492011a9da336d2 (diff)
downloadtcl-305650f1080fae0aea9e332254c68e54b6ec52c1.zip
tcl-305650f1080fae0aea9e332254c68e54b6ec52c1.tar.gz
tcl-305650f1080fae0aea9e332254c68e54b6ec52c1.tar.bz2
Merged core-8-5-branch, fixup of TIP 280 location mapping.
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index 2da455b..d80731e 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -5590,6 +5590,10 @@ TclArgumentBCEnter(
* have to save them at compile time.
*/
+ if (ePtr->nline != objc) {
+ Tcl_Panic ("TIP 280 data structure inconsistency");
+ }
+
for (word = 1; word < objc; word++) {
if (ePtr->line[word] >= 0) {
int isnew;