From ee002364120a773753d37cf5575baa6e86d0502c Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 14 Aug 2016 12:22:31 +0100 Subject: expr as type; {N}bool is still causing problems --- src/printer.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/printer.cpp') 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"); -- cgit v1.2.3