aboutsummaryrefslogtreecommitdiff
path: root/jim-array.c
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2014-01-03 09:46:40 +1000
committerSteve Bennett <steveb@workware.net.au>2014-01-03 11:02:57 +1000
commit381cd0bed1a0ed9421eb1f5a0d368ec95024fd23 (patch)
treec4a79855f960c2d6dcd96d23f82f5cb2bb339bdd /jim-array.c
parentc07febeefdee3e620d61152574267107d59a1d6b (diff)
downloadjimtcl-381cd0bed1a0ed9421eb1f5a0d368ec95024fd23.zip
jimtcl-381cd0bed1a0ed9421eb1f5a0d368ec95024fd23.tar.gz
jimtcl-381cd0bed1a0ed9421eb1f5a0d368ec95024fd23.tar.bz2
tailcall: properly merge tailcall frames
Resolve the tailcall command immediately in [tailcall] and stash it. If a tailcall is currently being evaluated, new tailcalls in the same frame are merged/deferred to evaluate in the same C stack frame. Can't merge tailcall evaluations across uplevel. Add some tests for these cases Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-array.c')
0 files changed, 0 insertions, 0 deletions