summaryrefslogtreecommitdiff
path: root/tests/echotest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/echotest.cc')
-rw-r--r--tests/echotest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/echotest.cc b/tests/echotest.cc
index 9924d11..3051751 100644
--- a/tests/echotest.cc
+++ b/tests/echotest.cc
@@ -88,10 +88,10 @@ int main(int argc, char **argv)
parser_init(boosty::stringy(fs::path(argv[0]).branch_path()));
add_librarydir(boosty::stringy(fs::path(argv[0]).branch_path() / "../libraries"));
- ModuleContext root_ctx;
- root_ctx.registerBuiltin();
+ ModuleContext top_ctx;
+ top_ctx.registerBuiltin();
- AbstractModule *root_module;
+ FileModule *root_module;
ModuleInstantiation root_inst("group");
AbstractNode *root_node;
@@ -105,7 +105,7 @@ int main(int argc, char **argv)
}
AbstractNode::resetIndexCounter();
- root_node = root_module->evaluate(&root_ctx, &root_inst);
+ root_node = root_module->instantiate(&top_ctx, &root_inst);
delete root_node;
delete root_module;
contact: Jan Huwald // Impressum