diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-06-17 10:53:32 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-06-17 10:53:32 +0000 |
commit | 112069844468772da75bff132e76dc021a0d51cc (patch) | |
tree | 9c1125ca5ca978ffb68fcbaee048ae7ce2fb6a62 /mdoc_action.c | |
parent | 90971a6744219e0420d00c5eadd1d04649c52f33 (diff) | |
download | mandoc-112069844468772da75bff132e76dc021a0d51cc.tar.gz mandoc-112069844468772da75bff132e76dc021a0d51cc.tar.zst mandoc-112069844468772da75bff132e76dc021a0d51cc.zip |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_action.c b/mdoc_action.c index d6b6ea14..5d53e1ea 100644 --- a/mdoc_action.c +++ b/mdoc_action.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_action.c,v 1.12 2009/06/16 19:45:51 kristaps Exp $ */ +/* $Id: mdoc_action.c,v 1.13 2009/06/17 10:53:32 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -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)); } |