Hans Hagen <[email protected]> writes:
>> -- error: l-table.lua:565: unable to dump given function:
>> print(table.serialize(environment))
>
> to be expected
And what about replacing line 565 by something like this:
handle(format("%s [%q]=loadstring(%q),",depth,k,
debug.getinfo(v).what == "C" and "C code" or dump(v)))
--
Peter
___________________________________________________________________________________
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
___________________________________________________________________________________