webmcp

view framework/env/trace/_new_entry.lua @ 427:f0303fca9218

Decode some JSON numbers (those without decimal point or exponential notation) as Lua integers
author jbe
date Thu Jan 14 17:13:48 2016 +0100 (2016-01-14)
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