[api] decompose the message printing API by one notch

This commit is contained in:
Allen Webster
2021-06-05 21:02:51 -07:00
parent d0c9167eb6
commit d1896fc74b
5 changed files with 52 additions and 17 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ int main(int argument_count, char **arguments)
{
for(MD_EachNode(node, root->first_child))
{
MD_NodeMessageF(node, MD_MessageKind_Error, "This node has an error!");
MD_NodeMessageF(stderr, node, MD_MessageKind_Error, "This node has an error!");
}
}