function ‘trace_context’ out of scope in mult-cld.lua
Hi,
the following code calls ‘trace_context()’ which is created only
later on line 254. This is triggered if the first arg of
‘context()’ is of type ‘table’.
······
On 21-10-2010 2:38, Philipp Gesang wrote:
Hi,
the following code calls ‘trace_context()’ which is created only later on line 254. This is triggered if the first arg of ‘context()’ is of type ‘table’.
······
············································ function test (str) context.starttext() context(str) context.stoptext() return 0 end
t = {"a", "b"} return test(t)
····· ············································
Moving l. 254 to around l. 114 in mult-cld.lua fixes it for me.
should go higher ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Philipp Gesang