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)
commit23c320cea6647facf962db57c34c5cd85b9432b6 (patch)
treeb5e7c39efe55151da282aae8a06fc6d25a81b1e5 /generic/tclBasic.c
parent3b2326b2cb12d8d9376f464d61e70ef88433d2c5 (diff)
parentae8c7e936a3c00a11a29a50f2b80df021acbea51 (diff)
downloadtcl-23c320cea6647facf962db57c34c5cd85b9432b6.zip
tcl-23c320cea6647facf962db57c34c5cd85b9432b6.tar.gz
tcl-23c320cea6647facf962db57c34c5cd85b9432b6.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;