version 1.44, 2009/01/15 17:38:57 |
version 1.46, 2009/01/16 14:15:12 |
Line 194 buf_begin(struct md_parse *p) |
|
Line 194 buf_begin(struct md_parse *p) |
|
} |
} |
|
|
|
|
|
/* TODO: remove this to a print-tree output filter. */ |
static void |
static void |
print_node(const struct mdoc_node *n, int indent) |
print_node(const struct mdoc_node *n, int indent) |
{ |
{ |
Line 339 msg_err(void *arg, int line, int col, const char *msg) |
|
Line 340 msg_err(void *arg, int line, int col, const char *msg) |
|
|
|
p = (struct md_parse *)arg; |
p = (struct md_parse *)arg; |
|
|
xfprintf(stderr, "%s:%d: error: %s (column %d)", |
xfprintf(stderr, "%s:%d: error: %s (column %d)\n", |
p->name, line, msg, col); |
p->name, line, msg, col); |
return(0); |
return(0); |
} |
} |
Line 355 msg_msg(void *arg, int line, int col, const char *msg) |
|
Line 356 msg_msg(void *arg, int line, int col, const char *msg) |
|
if (0 == p->dbg) |
if (0 == p->dbg) |
return; |
return; |
|
|
xfprintf(stderr, "%s:%d: debug: %s (column %d)", |
xfprintf(stderr, "%s:%d: debug: %s (column %d)\n", |
p->name, line, msg, col); |
p->name, line, msg, col); |
} |
} |
|
|