| 823 | } |
| 824 | |
| 825 | static 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 | |
| 834 | int cmark_node_check(cmark_node *node, FILE *out) { |
| 835 | cmark_node *cur; |
no test coverage detected