webmcp

view 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
line source
1 function trace._new_entry(node)
2 local node = node or {}
3 local stack = trace._stack
4 local parent = stack[#stack]
5 parent[#parent+1] = node
6 return node
7 end

Impressum / About Us