summaryrefslogtreecommitdiffstatshomepage
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
commit8c0bc76f597bfa8102ebaae346815b1375f941f4 (patch)
treee4cb87fda759be3b2313c270f7d77e0070195649 /action.c
parent621648b3b0a34af595f1b79705e6b0a2a9e391a7 (diff)
downloadmandoc-8c0bc76f597bfa8102ebaae346815b1375f941f4.tar.gz
mandoc-8c0bc76f597bfa8102ebaae346815b1375f941f4.tar.zst
mandoc-8c0bc76f597bfa8102ebaae346815b1375f941f4.zip
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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/action.c b/action.c
index 6911b60f..203982aa 100644
--- a/action.c
+++ b/action.c
@@ -1,4 +1,4 @@
-/* $Id: action.c,v 1.18 2009/02/21 21:00:06 kristaps Exp $ */
+/* $Id: action.c,v 1.19 2009/02/22 14:31:08 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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);
}