This commit is contained in:
Valk Richard Li
2021-01-06 21:07:34 +08:00
parent 9474ac9ef0
commit f0cb8b6ef3
3 changed files with 37 additions and 80 deletions
-1
View File
@@ -81,7 +81,6 @@ nasal_ast nasal_import::file_import(nasal_ast& node)
// get filename and set node to ast_null
std::string filename=node.get_children()[1].get_children()[0].get_str();
node.clear();
node.set_type(ast_null);
// avoid infinite loading loop
if(check_exist(filename))