summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-07-18 15:42:54 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-07-18 15:42:54 (GMT)
commit64759df0b78b38806d06382708eaebe16ce7c07e (patch)
tree10b1fe79c403e17da470df6f8eb602fc0b7c1a7d /generic/tclBasic.c
parent6d2beac7e80048bcc4d4d46c68ec4f55d90986b3 (diff)
parent517197f8571ca5ff1c51b2cadc771505922d9137 (diff)
downloadtcl-64759df0b78b38806d06382708eaebe16ce7c07e.zip
tcl-64759df0b78b38806d06382708eaebe16ce7c07e.tar.gz
tcl-64759df0b78b38806d06382708eaebe16ce7c07e.tar.bz2
merge trunk
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index bd4f157..82affb0 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -5082,7 +5082,9 @@ TclEvalEx(
do {
if (Tcl_ParseCommand(interp, p, bytesLeft, 0, parsePtr) != TCL_OK) {
code = TCL_ERROR;
- goto error;
+ Tcl_LogCommandInfo(interp, script, parsePtr->commandStart,
+ parsePtr->term + 1 - parsePtr->commandStart);
+ goto posterror;
}
/*
@@ -5338,6 +5340,7 @@ TclEvalEx(
Tcl_LogCommandInfo(interp, script, parsePtr->commandStart,
commandLength);
}
+ posterror:
iPtr->flags &= ~ERR_ALREADY_LOGGED;
/*