summaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-02-22 14:31:08 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-02-22 14:31:08 +0000
commit29c4bdbbc24b5207d00218cdb51a021c912be0ef (patch)
tree34eaeb5b0cbbca12913e463672c0abcf5d154422 /action.c
parent30af6cdd4f3ef74c7ebef59694b573bb3509aad0 (diff)
downloadmandoc-29c4bdbbc24b5207d00218cdb51a021c912be0ef.tar.gz
Cleaned up validation source a bit.
Fixed `Nm' and `Nd' detection. Added a few more terminal outputs.
Diffstat (limited to 'action.c')
-rw-r--r--action.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/action.c b/action.c
index 1ffb2993..6fffc687 100644
--- a/action.c
+++ b/action.c
@@ -194,6 +194,7 @@ post_sh(struct mdoc *mdoc)
if (xstrlcats(buf, mdoc->last->child, 64)) {
if (SEC_CUSTOM != (sec = mdoc_atosec(buf)))
mdoc->lastnamed = sec;
+ mdoc->lastsec = sec;
return(1);
}