summaryrefslogtreecommitdiffstats
path: root/man_macro.c
diff options
context:
space:
mode:
Diffstat (limited to 'man_macro.c')
-rw-r--r--man_macro.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/man_macro.c b/man_macro.c
index f6b9e1a8..c09b0070 100644
--- a/man_macro.c
+++ b/man_macro.c
@@ -357,7 +357,8 @@ man_macroend(struct man *m)
continue;
if ( ! (MAN_EXPLICIT & man_macros[n->tok].flags))
continue;
- return(man_nerr(m, n, WEXITSCOPE));
+ if ( ! man_nwarn(m, n, WEXITSCOPE))
+ return(0);
}
return(man_unscope(m, m->first));