From 9cec32b191bc0a490e538c0974b0b1aaf7d747a7 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 15 May 2010 22:44:04 +0000 Subject: Remove `am', `ami', `de', `dei', and `.' from -man, as they're now in the roff preprocessor. --- man_action.c | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'man_action.c') diff --git a/man_action.c b/man_action.c index 9bfe9b46..b0387189 100644 --- a/man_action.c +++ b/man_action.c @@ -1,4 +1,4 @@ -/* $Id: man_action.c,v 1.33 2010/05/15 20:51:40 kristaps Exp $ */ +/* $Id: man_action.c,v 1.34 2010/05/15 22:44:04 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -30,7 +30,6 @@ struct actions { }; static int post_TH(struct man *); -static int post_de(struct man *); static int post_fi(struct man *); static int post_nf(struct man *); @@ -70,11 +69,6 @@ const struct actions man_actions[MAN_MAX] = { { NULL }, /* Sp */ { post_nf }, /* Vb */ { post_fi }, /* Ve */ - { post_de }, /* de */ - { post_de }, /* dei */ - { post_de }, /* am */ - { post_de }, /* ami */ - { NULL }, /* . */ }; @@ -113,20 +107,6 @@ post_fi(struct man *m) } -static int -post_de(struct man *m) -{ - - /* - * XXX: for the time being, we indiscriminately remove roff - * instructions from the parse stream. - */ - if (MAN_BLOCK == m->last->type) - man_node_delete(m, m->last); - return(1); -} - - static int post_nf(struct man *m) { -- cgit v1.2.3-56-ge451