summaryrefslogtreecommitdiffstatshomepage
path: root/man_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-08-22 09:10:37 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-08-22 09:10:37 +0000
commitd4a1266d3a6d5e702649566d2ecf12989540e02d (patch)
treeaad257c2562206a82084cf5c798b1ea15d08d988 /man_term.c
parent4569d232fe6387ebaffede22a904a733d699030f (diff)
downloadmandoc-d4a1266d3a6d5e702649566d2ecf12989540e02d.tar.gz
mandoc-d4a1266d3a6d5e702649566d2ecf12989540e02d.tar.zst
mandoc-d4a1266d3a6d5e702649566d2ecf12989540e02d.zip
Added `UC' libman macro (has no effect).
Corrected `UC' and `DT' not to print their arguments. Noted that `UC' and `DT' shouldn't be used.
Diffstat (limited to 'man_term.c')
-rw-r--r--man_term.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/man_term.c b/man_term.c
index c3f2c5b9..3e10d34c 100644
--- a/man_term.c
+++ b/man_term.c
@@ -1,4 +1,4 @@
-/* $Id: man_term.c,v 1.28 2009/08/21 08:41:05 kristaps Exp $ */
+/* $Id: man_term.c,v 1.29 2009/08/22 09:10:38 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -76,6 +76,7 @@ static int pre_SS(DECL_ARGS);
static int pre_TP(DECL_ARGS);
static int pre_br(DECL_ARGS);
static int pre_fi(DECL_ARGS);
+static int pre_ign(DECL_ARGS);
static int pre_nf(DECL_ARGS);
static int pre_r(DECL_ARGS);
static int pre_sp(DECL_ARGS);
@@ -120,7 +121,8 @@ static const struct termact termacts[MAN_MAX] = {
{ pre_r, NULL }, /* r */
{ NULL, NULL }, /* RE */
{ pre_RS, post_RS }, /* RS */
- { NULL, NULL }, /* DT */
+ { pre_ign, NULL }, /* DT */
+ { pre_ign, NULL }, /* UC */
};
#ifdef __linux__
@@ -208,6 +210,15 @@ arg_width(const struct man_node *n)
/* ARGSUSED */
static int
+pre_ign(DECL_ARGS)
+{
+
+ return(0);
+}
+
+
+/* ARGSUSED */
+static int
pre_I(DECL_ARGS)
{