summaryrefslogtreecommitdiff
path: root/src/module.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-09-03 16:51:29 (GMT)
committerMarius Kintel <marius@kintel.net>2011-09-03 16:51:29 (GMT)
commitf58c0a3eb5ce9f252e98f41ddc34dcb70a68052b (patch)
treea2f3fb5b102e494feadc7c4e6e1cbf843f0699e3 /src/module.cc
parent16b74df94104525436342e7a128573a2a63d3494 (diff)
Some cleanup of the Context class
Diffstat (limited to 'src/module.cc')
-rw-r--r--src/module.cc4
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();
}
contact: Jan Huwald // Impressum