[examples] filling in notes in the parse_check.c example; upgrading the datadesk_like_template a bit

This commit is contained in:
Allen Webster
2021-09-10 14:34:23 -07:00
parent aeaa8b1154
commit a3e8c90b67
6 changed files with 112 additions and 62 deletions
-20
View File
@@ -1851,7 +1851,6 @@ MD_ParseWholeFile:
@doc("Prints a message to @code 'out', corresponding with the source code location encoded by @code 'loc'.")
@see(MD_PrintMessageFmt)
@see(MD_PrintNodeMessage)
@see(MD_PrintNodeMessageFmt)
@func MD_PrintMessage: {
@doc("The file to print the message to.")
out: *FILE,
@@ -1867,7 +1866,6 @@ MD_ParseWholeFile:
@doc("Prints a C format string message to @code 'out', corresponding with the source code location encoded by @code 'loc'.")
@see(MD_PrintMessage)
@see(MD_PrintNodeMessage)
@see(MD_PrintNodeMessageFmt)
@func MD_PrintMessageFmt: {
@doc("The file to print the message to.")
out: *FILE,
@@ -1883,7 +1881,6 @@ MD_ParseWholeFile:
@send(Nodes)
@see(MD_PrintMessage)
@see(MD_PrintMessageFmt)
@see(MD_PrintNodeMessageFmt)
@doc("Prints a message to @code 'out', corresponding with the source code location of @code 'node'.")
@func MD_PrintNodeMessage: {
@doc("The file to print the message to.")
@@ -1896,23 +1893,6 @@ MD_ParseWholeFile:
str: MD_String8,
};
@send(Nodes)
@doc("Prints a C format string message to @code 'out', corresponding with the source code location of @code 'node'.")
@see(MD_PrintMessage)
@see(MD_PrintMessageFmt)
@see(MD_PrintNodeMessage)
@func MD_PrintNodeMessageFmt: {
@doc("The file to print the message to.")
out: *FILE,
@doc("The node for which the message is intended.")
node: *MD_Node,
@doc("The kind/severity of the message.")
kind: MD_MessageKind,
@doc("The format string to form the message contents.")
fmt: *char,
"..."
};
////////////////////////////////
//~ Tree Comparison/Verification