summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmds.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2003-04-28 10:05:14 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2003-04-28 10:05:14 (GMT)
commit270dd26ada27456d73cfdcaf7623fee880227569 (patch)
tree60a15fad984f16bbee15913a3f56f55381838c15 /generic/tclCompCmds.c
parent044b2f3286bfc5afce188db48744bc1512a55cea (diff)
downloadtcl-270dd26ada27456d73cfdcaf7623fee880227569.zip
tcl-270dd26ada27456d73cfdcaf7623fee880227569.tar.gz
tcl-270dd26ada27456d73cfdcaf7623fee880227569.tar.bz2
Default mode of operation of [switch] is exact matching. [Bug 727563]
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 ee4e809..ce8c76d 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.46 2003/04/07 20:00:47 dgp Exp $
+ * RCS: @(#) $Id: tclCompCmds.c,v 1.47 2003/04/28 10:05:27 dkf Exp $
*/
#include "tclInt.h"
@@ -2902,7 +2902,7 @@ TclCompileSwitchCmd(interp, parsePtr, envPtr)
* If no control flag present, use glob matching. We end up
* re-checking this word, but that's the way things are...
*/
- mode = Switch_Glob;
+ mode = Switch_Exact;
} else {
return TCL_OUT_LINE_COMPILE;
}