X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/a7382486c8399484becfa0fc2722457091759977..3c7b73a2f8774480e0df1984d751f9ead2c8c29d:/man_macro.c diff --git a/man_macro.c b/man_macro.c index 0622d255..867e3e70 100644 --- a/man_macro.c +++ b/man_macro.c @@ -1,4 +1,4 @@ -/* $Id: man_macro.c,v 1.25 2009/08/20 13:55:19 kristaps Exp $ */ +/* $Id: man_macro.c,v 1.26 2009/08/21 12:12:12 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -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));