diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-19 17:02:58 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-19 17:02:58 +0000 |
commit | d427476d5c4b9bd0804fa51647671e6b18e07afa (patch) | |
tree | 675c6fd8ece9ed2898161248449bf80d77307b30 /action.c | |
parent | dd2076332ac7deafb5fe4ca97b255ce8964654fd (diff) | |
download | mandoc-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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |