diff options
author | dgp <dgp@users.sourceforge.net> | 2013-07-18 15:42:54 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2013-07-18 15:42:54 (GMT) |
commit | 64759df0b78b38806d06382708eaebe16ce7c07e (patch) | |
tree | 10b1fe79c403e17da470df6f8eb602fc0b7c1a7d /generic/tclBasic.c | |
parent | 6d2beac7e80048bcc4d4d46c68ec4f55d90986b3 (diff) | |
parent | 517197f8571ca5ff1c51b2cadc771505922d9137 (diff) | |
download | tcl-64759df0b78b38806d06382708eaebe16ce7c07e.zip tcl-64759df0b78b38806d06382708eaebe16ce7c07e.tar.gz tcl-64759df0b78b38806d06382708eaebe16ce7c07e.tar.bz2 |
merge trunk
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r-- | generic/tclBasic.c | 5 |
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; /* |