X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/5788bca96fe63ad62b2e8fd017671404c90b444e..9557817be488da39b7f0e34162706877c0652fc3:/mdoc_term.c diff --git a/mdoc_term.c b/mdoc_term.c index ea58a790..41338aa5 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.43 2009/07/16 13:27:24 kristaps Exp $ */ +/* $Id: mdoc_term.c,v 1.44 2009/07/17 10:56:57 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -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__ @@ -1828,6 +1831,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)