webmcp

view framework/env/trace/_open_section.lua @ 34:e19b0b5c46ba

allow execptions an slot.reset_all()

this is usefull when an error is detected deep into a view where you want redirect
to something usefull, but still save some slots like notice and error slots
author Daniel Poelzleithner <poelzi@poelzi.org>
date Wed Oct 06 16:14:33 2010 +0200 (2010-10-06)
parents 9fdfb27f8e67
children ca44dff90b4e
line source
1 function trace._open_section(node)
2 local node = trace._new_entry(node)
3 node.section = true
4 table.insert(trace._stack, node)
5 return node
6 end

Impressum / About Us