summaryrefslogtreecommitdiff
path: root/src/fileutils.cc
diff options
context:
space:
mode:
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)
commit400d28d753aa8af8de60a7f82851ffdc3cdae672 (patch)
tree3e76d4c4449556c26d48073200956045bc092111 /src/fileutils.cc
parentd67e0129161a98f852ed2685f43e7eb7c7538bf0 (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 'src/fileutils.cc')
0 files changed, 0 insertions, 0 deletions
contact: Jan Huwald // Impressum