webmcp

annotate framework/env/trace/_new_entry.lua @ 67:937bbe05098c

Bugfix regarding compatibility with Lua 5.2:
return _M at end of mondelefant.lua
author jbe
date Tue Apr 17 15:39:27 2012 +0200 (2012-04-17)
parents 9fdfb27f8e67
children 04b648660f9a
rev   line source
jbe/bsw@0 1 function trace._new_entry(node)
jbe/bsw@0 2 local node = node or {}
jbe/bsw@0 3 table.insert(trace._stack[#trace._stack], node)
jbe/bsw@0 4 return node
jbe/bsw@0 5 end

Impressum / About Us