summaryrefslogtreecommitdiffstats
path: root/tests/for.test
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclCmdMZ.c (Tcl_SwitchObjCmd): Generatemdejong2005-06-201-2/+51
| | | | | | | | | | | | | | | 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.
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-3/+3
|
* Report compilation errors at runtime, [Patch 103368] by dgp.Miguel Sofer2004-09-261-32/+26
|
* More expr syntax error improvementsdkf2001-12-061-2/+2
|
* Improved messages produced on getting a syntax error in an expressiondkf2001-12-041-3/+2
|
* * generic/tclCompCmds.c (TclCompileStringCmd): INST_STR_MATCH -hobbs2001-09-191-5/+27
| | | | | | | | | | | Updated to Int1 instruction type and added special case to use INST_STR_EQ instead when no glob chars are specified in a static string. * tests/{for.test,foreach.test,if.test,while.test}: * generic/tclCompCmds.c (TclCompileForCmd, TclCompileForeachCmd, TclCompileIfCmd, TclCompileWhileCmd): Corrected the overaggressive compiling of loop bodies enclosed in ""s. [Bug #219166] (msofer)
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
|
* Merged changes from scriptics-tclpro-1-3-b2 branchstanton1999-05-221-63/+66
|
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-9/+169
|
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-03-261-0/+592