This commit is contained in:
Valk Richard Li 2019-10-11 23:43:14 +08:00 committed by GitHub
parent 6bb206d37d
commit 3806e632e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

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())