MCPcopy Create free account
hub / github.com/commonmark/cmark / S_print_error

Function S_print_error

src/node.c:825–832  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

823}
824
825static void S_print_error(FILE *out, cmark_node *node, const char *elem) {
826 if (out == NULL) {
827 return;
828 }
829 fprintf(out, "Invalid '%s' in node type %s at %d:%d\n", elem,
830 cmark_node_get_type_string(node), node->start_line,
831 node->start_column);
832}
833
834int cmark_node_check(cmark_node *node, FILE *out) {
835 cmark_node *cur;

Callers 1

cmark_node_checkFunction · 0.85

Calls 1

Tested by

no test coverage detected