[api] cut subtle wrapper node constructors

This commit is contained in:
Allen Webster
2021-06-05 22:56:35 -07:00
parent 6450cd703c
commit c3ec42c70c
5 changed files with 11 additions and 39 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ static MD_Node * NewChildLabel(MD_Node *parent, MD_String8 label)
{
MD_Node *result = 0;
result = MD_MakeNodeFromString(MD_NodeKind_Label, MD_S8Lit(""), 0, 0, label);
result = MD_MakeNode(MD_NodeKind_Label, label, label, MD_S8Lit(""), 0, 0);
if(parent)
{
MD_PushChild(parent, result);