diff options
author | dgp <dgp@users.sourceforge.net> | 2006-08-17 17:43:38 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2006-08-17 17:43:38 (GMT) |
commit | 13abf0c4f482ad0481bb1945ff6451452535f47a (patch) | |
tree | cc8f0d7887f69a4f0cf10b3ccf792b6111f07616 /generic/tclCompile.c | |
parent | c441dca49ce8195d79b0d6abf058ca5a75015ee6 (diff) | |
download | tcl-13abf0c4f482ad0481bb1945ff6451452535f47a.zip tcl-13abf0c4f482ad0481bb1945ff6451452535f47a.tar.gz tcl-13abf0c4f482ad0481bb1945ff6451452535f47a.tar.bz2 |
* generic/tclCompile.c: Revised the new set of expression
* generic/tclParseExpr.c: parse error messages.
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r-- | generic/tclCompile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c index a24571b..56aa708 100644 --- a/generic/tclCompile.c +++ b/generic/tclCompile.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCompile.c,v 1.94 2006/08/10 12:15:31 dkf Exp $ + * RCS: @(#) $Id: tclCompile.c,v 1.95 2006/08/17 17:43:38 dgp Exp $ */ #include "tclInt.h" @@ -1604,6 +1604,7 @@ TclCompileExprWords( if (TclCompileExpr(interp, script, numBytes, envPtr) == TCL_OK) { return; } + Tcl_ResetResult(interp); envPtr->numCommands = savedNumCmds; envPtr->codeNext = envPtr->codeStart + savedCodeNext; } |