mirror of
https://github.com/Ed94/metadesk.git
synced 2026-08-05 07:08:45 +00:00
reduce arena overrides; tidy up organization of default control macros; eliminate arena casts by directly relying on MD_IMPL_Arena in header
This commit is contained in:
@@ -174,7 +174,7 @@ MD_FUNCTION_IMPL MD_C_Expr *
|
||||
MD_C_MakeExpr(MD_Arena *arena, MD_Node *node, MD_C_ExprKind kind, MD_C_Expr *left,
|
||||
MD_C_Expr *right)
|
||||
{
|
||||
MD_C_Expr *expr = MD_PushArrayAr(arena, MD_C_Expr, 1);
|
||||
MD_C_Expr *expr = MD_PushArray(arena, MD_C_Expr, 1);
|
||||
if(left == 0) left = MD_C_NilExpr();
|
||||
if(right == 0) right = MD_C_NilExpr();
|
||||
expr->node = node;
|
||||
|
||||
Reference in New Issue
Block a user