summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-03-01 16:06:19 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-03-01 16:06:19 (GMT)
commit4ab3f93af3cf176577da5cfc5f891c182a93ac99 (patch)
tree9716eb5765a1d6cf4c2f3ee35a592b15a59b8174 /generic
parent44ebec67f366b1da8cc1609b93847b2c6a590749 (diff)
downloadtcl-4ab3f93af3cf176577da5cfc5f891c182a93ac99.zip
tcl-4ab3f93af3cf176577da5cfc5f891c182a93ac99.tar.gz
tcl-4ab3f93af3cf176577da5cfc5f891c182a93ac99.tar.bz2
D'oh! Used an 8.5-ism...
Diffstat (limited to 'generic')
-rw-r--r--generic/tclCompCmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCompCmds.c b/generic/tclCompCmds.c
index 9c20bac..d2cd4bb 100644
--- a/generic/tclCompCmds.c
+++ b/generic/tclCompCmds.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: tclCompCmds.c,v 1.39.2.5 2007/03/01 10:16:10 dkf Exp $
+ * RCS: @(#) $Id: tclCompCmds.c,v 1.39.2.6 2007/03/01 16:06:19 dkf Exp $
*/
#include "tclInt.h"
@@ -902,7 +902,7 @@ TclCompileForeachCmd(interp, parsePtr, envPtr)
*/
if (numVars == 0) {
- code = TCL_ERROR;
+ code = TCL_OUT_LINE_COMPILE;
goto done;
}