diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-08-22 09:10:37 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-08-22 09:10:37 +0000 |
commit | 84eacc4c414fdcc460e6b117d665a17c11bea2c6 (patch) | |
tree | a8672f482877678dbfb7f6f720db77170c6da97f /man_term.c | |
parent | de2f1180552ba0141ccf20dd2a4665ee6a724d7e (diff) | |
download | mandoc-84eacc4c414fdcc460e6b117d665a17c11bea2c6.tar.gz |
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.c | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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) { |