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: |
d616dbd68aadfc7974bcb4e2e57bbe44 |
| 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
Modified ChangeLog
from [80fbccbbef]
to [ff12da0e8a].
[diff]
Modified generic/tclCmdMZ.c
from [cf4b870fe5]
to [cbbf1ce38b].
[diff]
Modified tests/for.test
from [681b8e583d]
to [3b1d5f7fc3].
[diff]
Modified tests/switch.test
from [73b3633aef]
to [e017889a74].
[diff]