This commit is contained in:
Krzosa Karol
2022-06-04 09:12:27 +02:00
parent 4910671ab9
commit c3f235bd44
5 changed files with 95 additions and 93 deletions

View File

@@ -111,7 +111,7 @@ gen_expr(Ast_Expr *ast){
else{
gen("(");
gen_expr(node->left);
gen("%s", token_kind_string(node->op).str);
gen("%s", name(node->op));
gen_expr(node->right);
gen(")");
}