summaryrefslogtreecommitdiffstats
path: root/mdoc_action.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-06-17 10:53:32 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-06-17 10:53:32 +0000
commit08234e1261b84672fa81eab4dd6640e9b55e2f63 (patch)
tree3321dec2f6157aa567b7f0845a6e86753b314ff5 /mdoc_action.c
parentaa8ebdeebdc3218708b91a72e0b499258a3e5cef (diff)
downloadmandoc-08234e1261b84672fa81eab4dd6640e9b55e2f63.tar.gz
Section orders are more elegantly handled (MDOC_PBODY is a flag).
Cleaned up string->enum conversion for section lookup.
Diffstat (limited to 'mdoc_action.c')
-rw-r--r--mdoc_action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_action.c b/mdoc_action.c
index 4a314905..0b7face0 100644
--- a/mdoc_action.c
+++ b/mdoc_action.c
@@ -515,8 +515,8 @@ post_os(POST_ARGS)
if (NULL == (m->meta.os = strdup(buf)))
return(verr(m, EMALLOC));
- m->lastnamed = m->lastsec = SEC_BODY;
+ m->flags |= MDOC_PBODY;
return(post_prol(m));
}