summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2003-05-01 19:57:47 (GMT)
committerdgp <dgp@users.sourceforge.net>2003-05-01 19:57:47 (GMT)
commitded0ebcd4576288ef13365598a179dfee8fce1ca (patch)
tree5e8d139c9732baa8b9e233d9ce6c6cb149f8e39f /generic
parentc191aa7b691555843cbc2f9deed2a879ec6eebec (diff)
downloadtcl-ded0ebcd4576288ef13365598a179dfee8fce1ca.zip
tcl-ded0ebcd4576288ef13365598a179dfee8fce1ca.tar.gz
tcl-ded0ebcd4576288ef13365598a179dfee8fce1ca.tar.bz2
corrected comment about the default matching mode for [switch].
Diffstat (limited to 'generic')
-rw-r--r--generic/tclCompCmds.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/generic/tclCompCmds.c b/generic/tclCompCmds.c
index ce8c76d..709359d 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.47 2003/04/28 10:05:27 dkf Exp $
+ * RCS: @(#) $Id: tclCompCmds.c,v 1.48 2003/05/01 19:57:47 dgp Exp $
*/
#include "tclInt.h"
@@ -2899,8 +2899,9 @@ TclCompileSwitchCmd(interp, parsePtr, envPtr)
} else if ((size == 2) && (parsePtr->numWords == 4)
&& !strncmp(chrs, "--", 2)) {
/*
- * If no control flag present, use glob matching. We end up
- * re-checking this word, but that's the way things are...
+ * If no control flag present, use exact matching (the default).
+ *
+ * We end up re-checking this word, but that's the way things are...
*/
mode = Switch_Exact;
} else {