summaryrefslogtreecommitdiffstatshomepage
path: root/macro.c
diff options
context:
space:
mode:
Diffstat (limited to 'macro.c')
-rw-r--r--macro.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/macro.c b/macro.c
index da90d73c..5245801f 100644
--- a/macro.c
+++ b/macro.c
@@ -1,4 +1,4 @@
-/* $Id: macro.c,v 1.45 2009/01/20 13:05:28 kristaps Exp $ */
+/* $Id: macro.c,v 1.46 2009/01/20 15:06:07 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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));