removed NODE_EQUAL

This commit is contained in:
Lorenzo Torres 2025-12-02 21:31:16 +01:00
parent cb021716ef
commit 9302e4710d
4 changed files with 2 additions and 8 deletions

5
lc.c
View file

@ -88,11 +88,6 @@ void print_ast(ast_node *node, int depth) {
print_ast(node->expr.binary.left, depth + 1);
print_ast(node->expr.binary.right, depth + 1);
break;
case NODE_EQUAL:
printf("EqualOp (%s)\n", get_op_str(node->expr.binary.operator));
print_ast(node->expr.binary.left, depth + 1);
print_ast(node->expr.binary.right, depth + 1);
break;
case NODE_ARRAY_SUBSCRIPT:
printf("Array subscript\n");
print_ast(node->expr.subscript.expr, depth + 1);