update & bug fixed

This commit is contained in:
Valk Richard Li
2021-01-05 23:17:32 +08:00
parent b862aa91eb
commit 9474ac9ef0
6 changed files with 72 additions and 173 deletions
-2
View File
@@ -77,8 +77,6 @@ nasal_ast nasal_import::file_import(nasal_ast& node)
{
// initializing
nasal_ast tmp(0,ast_root);
import_lex.clear();
import_par.clear();
// get filename and set node to ast_null
std::string filename=node.get_children()[1].get_children()[0].get_str();