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’.

······<example.cld>  ············································

function test (str)
     context.starttext()
     context(str)
     context.stoptext()
     return 0
end

t = {"a", "b"}
return test(t)

·····</example.cld>  ············································

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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to