This commit is contained in:
Valk Richard Li
2020-08-03 02:15:37 -07:00
committed by GitHub
parent 3da494ac16
commit 3ef0972856
4 changed files with 128 additions and 11 deletions
+2 -2
View File
@@ -66,7 +66,7 @@ void par_func()
return;
}
void ast_func()
void ast_print()
{
lexer.scanner(resource.get_file());
if(!lexer.get_error())
@@ -153,7 +153,7 @@ int main()
else if(command=="par")
par_func();
else if(command=="ast")
ast_func();
ast_print();
else if(command=="run")
runtime_start();
else if(command=="logo")