inline function call with builtin function instead...
...of special syntax.
partially reverts 41144a8566
closes #306
This commit is contained in:
@@ -236,8 +236,6 @@ static const char *node_type_str(NodeType node_type) {
|
||||
return "TryExpr";
|
||||
case NodeTypeTestExpr:
|
||||
return "TestExpr";
|
||||
case NodeTypeInlineExpr:
|
||||
return "InlineExpr";
|
||||
}
|
||||
zig_unreachable();
|
||||
}
|
||||
@@ -927,12 +925,6 @@ static void render_node_extra(AstRender *ar, AstNode *node, bool grouped) {
|
||||
render_node_ungrouped(ar, node->data.unwrap_err_expr.op2);
|
||||
break;
|
||||
}
|
||||
case NodeTypeInlineExpr:
|
||||
{
|
||||
fprintf(ar->f, "inline ");
|
||||
render_node_grouped(ar, node->data.inline_expr.body);
|
||||
break;
|
||||
}
|
||||
case NodeTypeFnDecl:
|
||||
case NodeTypeParamDecl:
|
||||
case NodeTypeErrorValueDecl:
|
||||
|
||||
Reference in New Issue
Block a user