summaryrefslogtreecommitdiffstats
path: root/man_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-03-24 20:10:53 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-03-24 20:10:53 +0000
commit1bd27bfb1ecce0925949a108025f62bf87b5c5f5 (patch)
tree121babbde4f600edf3a9e716f4d00acf795aa3f6 /man_term.c
parentefcc4d089d85c2b28629f9b05e441837f2c1a4f2 (diff)
downloadmandoc-1bd27bfb1ecce0925949a108025f62bf87b5c5f5.tar.gz
Using man_node_delete() instead of man_node_free()/man_node_freelist() and friends (much simpler).
Split blk_imp() into blk_exp() (explicit macros), blk_dotted() (roff macros), and the original. Added de, dei, am, ami, and ig roff macros (for now, these are discarded within the parse).
Diffstat (limited to 'man_term.c')
-rw-r--r--man_term.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/man_term.c b/man_term.c
index 19489b71..1715ff26 100644
--- a/man_term.c
+++ b/man_term.c
@@ -142,6 +142,12 @@ static const struct termact termacts[MAN_MAX] = {
{ pre_sp, NULL, MAN_NOTEXT }, /* Sp */
{ pre_nf, NULL, 0 }, /* Vb */
{ pre_fi, NULL, 0 }, /* Ve */
+ { pre_ign, NULL, MAN_NOTEXT }, /* de */
+ { pre_ign, NULL, MAN_NOTEXT }, /* dei */
+ { pre_ign, NULL, MAN_NOTEXT }, /* am */
+ { pre_ign, NULL, MAN_NOTEXT }, /* ami */
+ { pre_ign, NULL, MAN_NOTEXT }, /* ig */
+ { NULL, NULL, 0 }, /* . */
};
@@ -785,6 +791,8 @@ post_RS(DECL_ARGS)
case (MAN_BLOCK):
mt->offset = mt->lmargin = INDENT;
break;
+ case (MAN_HEAD):
+ break;
default:
term_newln(p);
p->offset = INDENT;