diff options
author | Łukasz Stelmach <stlman@poczta.fm> | 2013-08-18 15:18:43 (GMT) |
---|---|---|
committer | Łukasz Stelmach <stlman@poczta.fm> | 2013-08-18 15:19:49 (GMT) |
commit | 400d28d753aa8af8de60a7f82851ffdc3cdae672 (patch) | |
tree | 3e76d4c4449556c26d48073200956045bc092111 /tests/regression/dumptest/module-recursion-expected.csg | |
parent | d67e0129161a98f852ed2685f43e7eb7c7538bf0 (diff) |
Enable module stack introspection from within an SCAD script
The _current_module and _parent_module variables have been replaced
by a built-in function parent_module(n). It takes one numeric parameter n,
and returns n-th element from the module stack. If no argument provided,
n defaults to 1 and the function returns the name of the direct parent
module. If n is equal 0 current module name is returned.
Diffstat (limited to 'tests/regression/dumptest/module-recursion-expected.csg')
0 files changed, 0 insertions, 0 deletions