summaryrefslogtreecommitdiffstats
path: root/mdocml.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-01-16 11:50:54 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-01-16 11:50:54 +0000
commitc3f113eda71022f3ea3245ce53f3878057139149 (patch)
treee812fcd3245ade0fe206c0b6a2ee19191a2a6d77 /mdocml.c
parent49aead8ab67de188578d52298d35707f7a62a695 (diff)
downloadmandoc-c3f113eda71022f3ea3245ce53f3878057139149.tar.gz
Finished re-fitting err/warn/msg routines.
Some minor bug-fixes.
Diffstat (limited to 'mdocml.c')
-rw-r--r--mdocml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdocml.c b/mdocml.c
index 2896c417..0cfe905b 100644
--- a/mdocml.c
+++ b/mdocml.c
@@ -339,7 +339,7 @@ msg_err(void *arg, int line, int col, const char *msg)
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);
return(0);
}
@@ -355,7 +355,7 @@ msg_msg(void *arg, int line, int col, const char *msg)
if (0 == p->dbg)
return;
- xfprintf(stderr, "%s:%d: debug: %s (column %d)",
+ xfprintf(stderr, "%s:%d: debug: %s (column %d)\n",
p->name, line, msg, col);
}