parser: force ast printer to be correct

This commit is contained in:
Andrew Kelley 2015-11-25 16:57:15 -07:00
parent 311fd67083
commit 6f460de02d

View File

@ -167,7 +167,7 @@ void ast_print(AstNode *node, int indent) {
ast_print(child, indent + 2);
}
break;
default:
case NodeTypeDirective:
fprintf(stderr, "%s\n", node_type_str(node->type));
break;
}