Prepare for running

This commit is contained in:
Valk Richard Li
2019-09-25 06:54:17 -05:00
committed by GitHub
parent eaa2740d63
commit 36353389f8
6 changed files with 117 additions and 5 deletions

View File

@@ -60,7 +60,7 @@ int main()
lex.lexer_process(prog.use_file());
lex.token_list_type_detail_edit();
pas.parse_process(lex.return_list());
// pas.gen_main_prog();
pas.parse_main_work();
pas.print_ast();
}
else if(command=="run")
@@ -68,7 +68,7 @@ int main()
lex.lexer_process(prog.use_file());
lex.token_list_type_detail_edit();
pas.parse_process(lex.return_list());
// pas.gen_main_prog();
pas.parse_main_work();
pas.run();
}
else