diff options
author | andreask <andreask@noemail.net> | 2011-05-17 21:38:46 (GMT) |
---|---|---|
committer | andreask <andreask@noemail.net> | 2011-05-17 21:38:46 (GMT) |
commit | 257e222acf55a3f8c2cb992f8874744b92e7373a (patch) | |
tree | b5e7c39efe55151da282aae8a06fc6d25a81b1e5 /generic/tclBasic.c | |
parent | 0294a85e08eec837b43365ba541589e82ded7f85 (diff) | |
parent | d88fbf6bac267f631b0541c6d9623083b6c9a855 (diff) | |
download | tcl-257e222acf55a3f8c2cb992f8874744b92e7373a.zip tcl-257e222acf55a3f8c2cb992f8874744b92e7373a.tar.gz tcl-257e222acf55a3f8c2cb992f8874744b92e7373a.tar.bz2 |
Merged core-8-5-branch, fixup of TIP 280 location mapping.
FossilOrigin-Name: 168a79562b5f1807cfd8d5959b3261629e9b0d11
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r-- | generic/tclBasic.c | 4 |
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; |