mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-23 03:18:43 +08:00
Prepare for running
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user