unimportant changes...

This commit is contained in:
fsan 2021-10-07 23:54:39 -03:00
parent a08402f795
commit 4f1718ce5a
2 changed files with 1 additions and 2 deletions

View File

@ -36,4 +36,5 @@ interpreter::evalEXP(struct token exp) {
exit(-1); exit(-1);
break; break;
} }
exit(-1);
} }

View File

@ -7,7 +7,6 @@ main(){
// realizar un interprete // realizar un interprete
// interpretar a = 2 + 2 // interpretar a = 2 + 2
interpreter inter; interpreter inter;
lexer lex; lexer lex;
std::vector<struct token*> lexed = lex.lex_file("tst.cfran"); std::vector<struct token*> lexed = lex.lex_file("tst.cfran");
parser parser(lexed); parser parser(lexed);
@ -16,6 +15,5 @@ main(){
std::cout << "EVALUATING RESULTING TREE:\n"; std::cout << "EVALUATING RESULTING TREE:\n";
std::cout << str_token(*end); std::cout << str_token(*end);
inter.evalSTM(*end); inter.evalSTM(*end);
// free_tree(end);
return 1; return 1;
} }