diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2005-06-20 23:10:23 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2005-06-20 23:10:23 (GMT) |
commit | 1a7d07bf9863f423695b4de79e7305d4d42b6c37 (patch) | |
tree | df6438af0bd89cac51a139a94e695a0ab0857bcc /generic/tclCompCmds.c | |
parent | 3b4bb3e447eedce8edd412a6fbdab799d129c86e (diff) | |
download | tcl-1a7d07bf9863f423695b4de79e7305d4d42b6c37.zip tcl-1a7d07bf9863f423695b4de79e7305d4d42b6c37.tar.gz tcl-1a7d07bf9863f423695b4de79e7305d4d42b6c37.tar.bz2 |
typos
Diffstat (limited to 'generic/tclCompCmds.c')
-rw-r--r-- | generic/tclCompCmds.c | 4 |
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; } |