Skip to content
Tcl Source Code Check-in [d616dbd68a]
Login

Check-in [d616dbd68a]

Overview
Comment: * 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.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d616dbd68aadfc7974bcb4e2e57bbe446c689044
User & Date: mdejong on 2005-06-20 07:48:52.000
Other Links: manifest | tags
Context
2005-06-20
10:01
Update error case handling following Mo's updates (which are a good thing) check-in: ffddfd73f3 user: dkf tags: trunk
07:48
* generic/tclCmdMZ.c (Tcl_SwitchObjCmd): Generate an error if a mode argument like -exact is passe... check-in: d616dbd68a user: mdejong tags: trunk
2005-06-18
21:45
* generic/tclInt.h: ensure WORDS_BIGENDIAN is defined correctly with fat compiles on Darwin (i.e. ... check-in: 02ddae4aec user: das tags: trunk
Changes