summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmds.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2005-06-20 23:10:23 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2005-06-20 23:10:23 (GMT)
commit1a7d07bf9863f423695b4de79e7305d4d42b6c37 (patch)
treedf6438af0bd89cac51a139a94e695a0ab0857bcc /generic/tclCompCmds.c
parent3b4bb3e447eedce8edd412a6fbdab799d129c86e (diff)
downloadtcl-1a7d07bf9863f423695b4de79e7305d4d42b6c37.zip
tcl-1a7d07bf9863f423695b4de79e7305d4d42b6c37.tar.gz
tcl-1a7d07bf9863f423695b4de79e7305d4d42b6c37.tar.bz2
typos
Diffstat (limited to 'generic/tclCompCmds.c')
-rw-r--r--generic/tclCompCmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCompCmds.c b/generic/tclCompCmds.c
index aefd8e3..ee415e5 100644
--- a/generic/tclCompCmds.c
+++ b/generic/tclCompCmds.c
@@ -12,7 +12,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.74 2005/06/20 21:27:09 dkf Exp $
+ * RCS: @(#) $Id: tclCompCmds.c,v 1.75 2005/06/20 23:10:23 dkf Exp $
*/
#include "tclInt.h"
@@ -273,7 +273,7 @@ TclCompileCatchCmd(interp, parsePtr, envPtr)
* If syntax does not match what we expect for [catch], do not compile.
* Let runtime checks determine if syntax has changed.
*/
- if ((parsePtr->numWords < 2) && (parsePtr->numWords > 4)) {
+ if ((parsePtr->numWords < 2) || (parsePtr->numWords > 4)) {
return TCL_ERROR;
}