summaryrefslogtreecommitdiffstats
path: root/tests/error.test
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2010-11-03 00:59:22 (GMT)
committerKevin B Kenny <kennykb@acm.org>2010-11-03 00:59:22 (GMT)
commit4ac4e5c0f9920027f560c0c6234a8249f8724ec5 (patch)
treebf347caee3495e42172bdd85fd2788970f07868a /tests/error.test
parent03556d3d486b03faccfd612eaaecce57f204a66e (diff)
downloadtcl-4ac4e5c0f9920027f560c0c6234a8249f8724ec5.zip
tcl-4ac4e5c0f9920027f560c0c6234a8249f8724ec5.tar.gz
tcl-4ac4e5c0f9920027f560c0c6234a8249f8724ec5.tar.bz2
* generic/tclCompCmds.c (TclCompileCatchCmd):
* tests/compile.test (compile-3,6): Reworked the compilation of the [catch] command so as to avoid placing any code that might throw an exception (specifically, any initial substitutions or any stores to result or options variables) between the BEGIN_CATCH and END_CATCH but outside the exception range. Added a test case that panics on a stack smash if the change is not made. [Bug #3098302]
Diffstat (limited to 'tests/error.test')
0 files changed, 0 insertions, 0 deletions