With this patch, Tcl is now failing the same two tests for me that it's been failing for leo:
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/cmd_break.t 1 256 2 1 50.00% 2
t/cmd_continue.t 1 256 2 1 50.00% 2
Failed 2/39 test scripts, 94.87% okay. 2/238 subtests failed, 99.16% okay.
Now that they're out in the open, as it were, I might be able to fix them.
So, failing tests: bad; Patch: good.
[EMAIL PROTECTED] wrote:
Author: coke
Date: Tue Jun 7 17:16:15 2005
New Revision: 8287
Modified:
trunk/languages/tcl/TODO
trunk/languages/tcl/lib/commands/append.imc
trunk/languages/tcl/lib/commands/array.imc
trunk/languages/tcl/lib/commands/catch.imc
trunk/languages/tcl/lib/commands/for.imc
trunk/languages/tcl/lib/commands/foreach.imc
trunk/languages/tcl/lib/commands/global.imc
trunk/languages/tcl/lib/commands/incr.imc
trunk/languages/tcl/lib/commands/lappend.imc
trunk/languages/tcl/lib/commands/namespace.imc
trunk/languages/tcl/lib/commands/set.imc
trunk/languages/tcl/lib/commands/unset.imc
trunk/languages/tcl/lib/commands/upvar.imc
trunk/languages/tcl/lib/expression.imc
trunk/languages/tcl/lib/get_var.imc
trunk/languages/tcl/lib/interpret.imc
trunk/languages/tcl/lib/tclword.imc
trunk/languages/tcl/t/cmd_catch.t
trunk/languages/tcl/t/tcl_pir_compiler.t
trunk/languages/tcl/tcl.imc_template
Log:
Add support for true globals, instead of just faking it. Includes a test for
generic parrot interoperability in tcl_pir_compiler.t
update some error handlers based on feedback from Leo (that, and the old style
seems to break with the other parts of this patch.)
Switch lib/get_var.imc to use multisubs for hopefully better dispatch,
but definitely cleaner code. now passing strings instead of PMCs to avoid
extraneous boxing/unboxing.
<SNIP>