summaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-01-19 17:02:58 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-01-19 17:02:58 +0000
commitd427476d5c4b9bd0804fa51647671e6b18e07afa (patch)
tree675c6fd8ece9ed2898161248449bf80d77307b30 /action.c
parentdd2076332ac7deafb5fe4ca97b255ce8964654fd (diff)
downloadmandoc-d427476d5c4b9bd0804fa51647671e6b18e07afa.tar.gz
Removed unnecessary test cases (most were for visual).
Finally fixed scope-rewinding (MDOC_VALID).
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)