diff options
author | Marius Kintel <marius@kintel.net> | 2011-09-03 16:51:29 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-09-03 16:51:29 (GMT) |
commit | f58c0a3eb5ce9f252e98f41ddc34dcb70a68052b (patch) | |
tree | a2f3fb5b102e494feadc7c4e6e1cbf843f0699e3 /src/module.cc | |
parent | 16b74df94104525436342e7a128573a2a63d3494 (diff) |
Some cleanup of the Context class
Diffstat (limited to 'src/module.cc')
-rw-r--r-- | src/module.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/module.cc b/src/module.cc index 49a5f1b..2852c4e 100644 --- a/src/module.cc +++ b/src/module.cc @@ -102,7 +102,7 @@ AbstractNode *ModuleInstantiation::evaluate(const Context *ctx) const { AbstractNode *node = NULL; if (this->ctx) { - PRINTF("WARNING: Ignoring recursive module instanciation of '%s'.", modname.c_str()); + PRINTF("WARNING: Ignoring recursive module instantiation of '%s'.", modname.c_str()); } else { ModuleInstantiation *that = (ModuleInstantiation*)this; that->argvalues.clear(); @@ -110,7 +110,7 @@ AbstractNode *ModuleInstantiation::evaluate(const Context *ctx) const that->argvalues.push_back(v->evaluate(ctx)); } that->ctx = ctx; - node = ctx->evaluate_module(this); + node = ctx->evaluate_module(*this); that->ctx = NULL; that->argvalues.clear(); } |