diff options
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(); } |