summaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
Diffstat (limited to 'action.c')
-rw-r--r--action.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/action.c b/action.c
index 1b10dcd3..1d8a91c5 100644
--- a/action.c
+++ b/action.c
@@ -298,6 +298,10 @@ int
mdoc_action_post(struct mdoc *mdoc)
{
+ if (MDOC_ACTED & mdoc->last->flags)
+ return(1);
+ mdoc->last->flags |= MDOC_ACTED;
+
if (MDOC_TEXT == mdoc->last->type)
return(1);
if (MDOC_ROOT == mdoc->last->type)