This commit is contained in:
Valk Richard Li
2019-10-11 23:43:14 +08:00
committed by GitHub
parent 6bb206d37d
commit 3806e632e9

View File

@@ -24,6 +24,11 @@ class generator
parse.pop();
return;
}
void set_ast_empty()
{
root.tree_set_clear();
return;
}
void gen_process(std::list<token>& lexer)
{
while(!parse.empty())