diff options
author | Marius Kintel <marius@kintel.net> | 2013-04-19 01:51:46 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-04-19 01:51:46 (GMT) |
commit | ea0d71329a84dbfb4ea38c0a2f9874afebe006fd (patch) | |
tree | baeb4aaaae727b990a4d89c6935f04184ce92321 /src/import.cc | |
parent | b06b4f32f8c0fb616ebba6ddbf3a2297bf185436 (diff) |
Added bugfix hints. Related to #116
Diffstat (limited to 'src/import.cc')
-rw-r--r-- | src/import.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/import.cc b/src/import.cc index 40468cc..c9a2b91 100644 --- a/src/import.cc +++ b/src/import.cc @@ -70,6 +70,10 @@ AbstractNode *ImportModule::evaluate(const Context *ctx, const ModuleInstantiati // FIXME: This is broken. Tag as deprecated and fix // Map old argnames to new argnames for compatibility + // To fix: + // o after c.setVariables() + // - if "filename" in evalctx: deprecated-warning && v.set_variable("file", value); + // - if "layername" in evalctx: deprecated-warning && v.set_variable("layer", value); #if 0 std::vector<std::string> inst_argnames = inst->argnames; for (size_t i=0; i<inst_argnames.size(); i++) { |