summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authormdejong <mdejong>2005-06-20 07:48:52 (GMT)
committermdejong <mdejong>2005-06-20 07:48:52 (GMT)
commit1ffccc907f8947bb84f4ccd20460b5122be83c9a (patch)
treeee1c355ba23b428babc4af24558cc67d779747dc /ChangeLog
parent6c01aeca56323105bfa7810baba82c7da8ee928d (diff)
downloadtcl-1ffccc907f8947bb84f4ccd20460b5122be83c9a.zip
tcl-1ffccc907f8947bb84f4ccd20460b5122be83c9a.tar.gz
tcl-1ffccc907f8947bb84f4ccd20460b5122be83c9a.tar.bz2
* generic/tclCmdMZ.c (Tcl_SwitchObjCmd): Generate
an error if a mode argument like -exact is passed more than once to the switch command. The previous implementation silently accepted invalid switch invocations like [switch -exact -glob $str ...]. * tests/for.test: Check some error cases when invoking continue and break inside a for loop next script. * tests/switch.test: Add checks for shortened version of a mode argument like -exact. Add test for more than one mode argument. Add test for odd case of passing a variable as a body script.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index cd2dae3..d182cbc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2005-06-20 Mo DeJong <mdejong@users.sourceforge.net>
+
+ * generic/tclCmdMZ.c (Tcl_SwitchObjCmd): Generate
+ an error if a mode argument like -exact is passed
+ more than once to the switch command. The previous
+ implementation silently accepted invalid switch
+ invocations like [switch -exact -glob $str ...].
+ * tests/for.test: Check some error cases when
+ invoking continue and break inside a for loop
+ next script.
+ * tests/switch.test: Add checks for shortened
+ version of a mode argument like -exact. Add
+ test for more than one mode argument. Add test
+ for odd case of passing a variable as a
+ body script.
+
2005-06-18 Daniel Steffen <das@users.sourceforge.net>
* generic/tclInt.h: ensure WORDS_BIGENDIAN is defined correctly with fat