summaryrefslogtreecommitdiffstatshomepage
path: root/man_action.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-15 22:44:04 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-15 22:44:04 +0000
commit9cec32b191bc0a490e538c0974b0b1aaf7d747a7 (patch)
tree492c0af00f36c3b9455fd0142d7171f5f5629158 /man_action.c
parent2c217d985cd43cfa1b9b2155e4189511d8f122ae (diff)
downloadmandoc-9cec32b191bc0a490e538c0974b0b1aaf7d747a7.tar.gz
mandoc-9cec32b191bc0a490e538c0974b0b1aaf7d747a7.tar.zst
mandoc-9cec32b191bc0a490e538c0974b0b1aaf7d747a7.zip
Remove `am', `ami', `de', `dei', and `.' from -man, as they're now in the roff preprocessor.
Diffstat (limited to 'man_action.c')
-rw-r--r--man_action.c22
1 files changed, 1 insertions, 21 deletions
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 <kristaps@bsd.lv>
*
@@ -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 }, /* . */
};
@@ -114,20 +108,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)
{