summaryrefslogtreecommitdiffstatshomepage
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
commita1a867fb1c1e2901c238afa76abb2f2168efca20 (patch)
treeb52a416509f19219775a93c70d0926ff15fd0cef /mdocml.c
parentd3f9cacf68a35ab54ef8d339821e76db6ba69e73 (diff)
downloadmandoc-a1a867fb1c1e2901c238afa76abb2f2168efca20.tar.gz
mandoc-a1a867fb1c1e2901c238afa76abb2f2168efca20.tar.zst
mandoc-a1a867fb1c1e2901c238afa76abb2f2168efca20.zip
Finished re-fitting err/warn/msg routines.
Some minor bug-fixes.
Diffstat (limited to 'mdocml.c')
-rw-r--r--mdocml.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdocml.c b/mdocml.c
index c5a7a227..2c2e5aef 100644
--- a/mdocml.c
+++ b/mdocml.c
@@ -1,4 +1,4 @@
-/* $Id: mdocml.c,v 1.44 2009/01/15 17:38:57 kristaps Exp $ */
+/* $Id: mdocml.c,v 1.45 2009/01/16 11:50:54 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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);
}