diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-22 14:31:08 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-22 14:31:08 +0000 |
commit | 8c0bc76f597bfa8102ebaae346815b1375f941f4 (patch) | |
tree | e4cb87fda759be3b2313c270f7d77e0070195649 /action.c | |
parent | 621648b3b0a34af595f1b79705e6b0a2a9e391a7 (diff) | |
download | mandoc-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); } |