summaryrefslogtreecommitdiffstats
path: root/man.c
diff options
context:
space:
mode:
Diffstat (limited to 'man.c')
-rw-r--r--man.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/man.c b/man.c
index 48e26619..e66315c6 100644
--- a/man.c
+++ b/man.c
@@ -102,8 +102,12 @@ int
man_endparse(struct man *m)
{
- /* FIXME. */
- return(1);
+ if (MAN_HALT & m->flags)
+ return(0);
+ else if (man_macroend(m))
+ return(1);
+ m->flags |= MAN_HALT;
+ return(0);
}
@@ -334,3 +338,4 @@ err: /* Error out. */
m->flags |= MAN_HALT;
return(0);
}
+