webmcp

annotate framework/env/trace/_new_entry.lua @ 552:7e874b5227b6

Bugfix in array support: info.type may be nil
author jbe
date Mon Dec 09 16:09:14 2019 +0100 (2019-12-09)
parents 04b648660f9a
children
rev   line source
jbe/bsw@0 1 function trace._new_entry(node)
jbe/bsw@0 2 local node = node or {}
jbe@302 3 local stack = trace._stack
jbe@302 4 local parent = stack[#stack]
jbe@302 5 parent[#parent+1] = node
jbe/bsw@0 6 return node
jbe/bsw@0 7 end

Impressum / About Us