aboutsummaryrefslogtreecommitdiff
path: root/src/printer.cpp
diff options
context:
space:
mode:
authorgingerBill <ginger.bill.22@gmail.com>2016-08-14 12:22:31 +0100
committergingerBill <ginger.bill.22@gmail.com>2016-08-14 12:22:31 +0100
commitee002364120a773753d37cf5575baa6e86d0502c (patch)
treed96feebc57be31d385909a0b9e4df2c0aef50a6b /src/printer.cpp
parentc10b46af9feb76a9839efa292c5288ec4684055e (diff)
expr as type; {N}bool is still causing problems
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");