From 1aa6cc37dcc72475cfe4c2a003d11b606284f790 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Thu, 13 Aug 2009 11:45:29 +0000 Subject: Significant overhaul in libman. Macros are now block- and line-scoped (with next-line scope extensions possible). man.7 reflects block and line scoping, and also includes a REFERENCE section that will be used as a template for the big mdoc reference. Many fixes in next-line behaviour for both inline and block macros. Added some macros for compatibility (from me.7). Corrected quoted-literal handling for libman. --- man_action.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'man_action.c') diff --git a/man_action.c b/man_action.c index 71f8dc3c..671246ab 100644 --- a/man_action.c +++ b/man_action.c @@ -60,6 +60,9 @@ const struct actions man_actions[MAN_MAX] = { { NULL }, /* na */ { NULL }, /* i */ { NULL }, /* sp */ + { NULL }, /* nf */ + { NULL }, /* fi */ + { NULL }, /* r*/ }; @@ -151,12 +154,10 @@ post_TH(struct man *m) */ if (m->last->parent->child == m->last) { - assert(MAN_ROOT == m->last->parent->type); m->last->parent->child = NULL; n = m->last; m->last = m->last->parent; m->next = MAN_NEXT_CHILD; - assert(m->last == m->first); } else { assert(m->last->prev); m->last->prev->next = NULL; -- cgit