summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmds.c
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2003-04-28 10:05:14 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2003-04-28 10:05:14 (GMT)
commit0af4731becfb0f6cde24fcbd71f5238b74c643eb (patch)
tree60a15fad984f16bbee15913a3f56f55381838c15 /generic/tclCompCmds.c
parentb6a6816a14ead2aa1bd1fa0fb1e4d79d191df823 (diff)
downloadtcl-0af4731becfb0f6cde24fcbd71f5238b74c643eb.zip
tcl-0af4731becfb0f6cde24fcbd71f5238b74c643eb.tar.gz
tcl-0af4731becfb0f6cde24fcbd71f5238b74c643eb.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;
}