aboutsummaryrefslogtreecommitdiff
path: root/src/printer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/printer.cpp')
-rw-r--r--src/printer.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/printer.cpp b/src/printer.cpp
index 8dd61e0ca..465714783 100644
--- a/src/printer.cpp
+++ b/src/printer.cpp
@@ -70,12 +70,6 @@ void print_ast(AstNode *node, isize indent) {
print_ast(node->IndexExpr.expr, indent+1);
print_ast(node->IndexExpr.index, indent+1);
break;
- case AstNode_CastExpr:
- print_indent(indent);
- gb_printf("(cast)\n");
- print_ast(node->CastExpr.type, indent+1);
- print_ast(node->CastExpr.expr, indent+1);
- break;
case AstNode_DerefExpr:
print_indent(indent);
gb_printf("(deref)\n");