summaryrefslogtreecommitdiffstats
path: root/macro.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-01-20 15:06:07 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-01-20 15:06:07 +0000
commit389130c4015e14cbc5aa06bdfb8df142be1c0512 (patch)
tree5d9b726d5344aa2539a5807a6b9858f2b58574d6 /macro.c
parentabb5875a9f265b0817374368eab8595832526e94 (diff)
downloadmandoc-389130c4015e14cbc5aa06bdfb8df142be1c0512.tar.gz
Tagged version.
Diffstat (limited to 'macro.c')
-rw-r--r--macro.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/macro.c b/macro.c
index f2febe0f..ee53ef7d 100644
--- a/macro.c
+++ b/macro.c
@@ -1213,8 +1213,7 @@ macro_end(struct mdoc *mdoc)
continue;
if ( ! (MDOC_EXPLICIT & mdoc_macros[n->tok].flags))
continue;
- mdoc_nerr(mdoc, n, "macro scope still open on exit");
- return(0);
+ return(mdoc_nerr(mdoc, n, "macro scope still open on exit"));
}
return(rewind_last(mdoc, mdoc->first));