diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-17 10:56:57 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-17 10:56:57 +0000 |
commit | e9573f136b1ae4896155ec0066bf3f7ef8bd4de0 (patch) | |
tree | a381f04866bc6e23d3d8336d4560a7a34f9c2721 /mdoc_term.c | |
parent | 29d2cd44871e73c9fa0e17ee3a7171e571619a84 (diff) | |
download | mandoc-e9573f136b1ae4896155ec0066bf3f7ef8bd4de0.tar.gz |
Added `br' and `sp' macros (requested by joerg@netbsd.org, jmc@openbsd.org).
Diffstat (limited to 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index e4a3bdc5..016e8a62 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -130,6 +130,7 @@ static int termp_ar_pre(DECL_ARGS); static int termp_bd_pre(DECL_ARGS); static int termp_bf_pre(DECL_ARGS); static int termp_bq_pre(DECL_ARGS); +static int termp_br_pre(DECL_ARGS); static int termp_brq_pre(DECL_ARGS); static int termp_bt_pre(DECL_ARGS); static int termp_cd_pre(DECL_ARGS); @@ -292,6 +293,8 @@ static const struct termact termacts[MDOC_MAX] = { { NULL, NULL }, /* En */ { termp_xx_pre, NULL }, /* Dx */ { NULL, NULL }, /* %Q */ + { termp_br_pre, NULL }, /* br */ + { NULL, NULL }, /* sp */ }; #ifdef __linux__ @@ -1830,6 +1833,16 @@ termp_in_post(DECL_ARGS) /* ARGSUSED */ static int +termp_br_pre(DECL_ARGS) +{ + + term_newln(p); + return(1); +} + + +/* ARGSUSED */ +static int termp_brq_pre(DECL_ARGS) { |