From 8c0bc76f597bfa8102ebaae346815b1375f941f4 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 22 Feb 2009 14:31:08 +0000 Subject: Cleaned up validation source a bit. Fixed `Nm' and `Nd' detection. Added a few more terminal outputs. --- action.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'action.c') 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 * @@ -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); } -- cgit v1.2.3