aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-12-24 23:04:36 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-12-24 23:04:36 +0000
commit319dd615ecf9bfbb4f80d4a40c14cfa67f905b04 (patch)
tree3615089281d4a071d3960b3ebbfc86475bce2a69 /mdoc_term.c
parentd79f71b0fb34255f6f1577ffb09b4ce72dc775fd (diff)
downloadmandoc-319dd615ecf9bfbb4f80d4a40c14cfa67f905b04.tar.gz
mandoc-319dd615ecf9bfbb4f80d4a40c14cfa67f905b04.tar.zst
mandoc-319dd615ecf9bfbb4f80d4a40c14cfa67f905b04.zip
Delete the unused flag TERMP_IGNDELIM
and the empty callback termp_igndelim_pre(). Sort the remaining termp flags.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c17
1 files changed, 3 insertions, 14 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 45b3c855..04fede10 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.253 2013/12/24 20:45:27 schwarze Exp $ */
+/* $Id: mdoc_term.c,v 1.254 2013/12/24 23:04:36 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2012, 2013 Ingo Schwarze <schwarze@openbsd.org>
@@ -100,7 +100,6 @@ static int termp_fl_pre(DECL_ARGS);
static int termp_fn_pre(DECL_ARGS);
static int termp_fo_pre(DECL_ARGS);
static int termp_ft_pre(DECL_ARGS);
-static int termp_igndelim_pre(DECL_ARGS);
static int termp_in_pre(DECL_ARGS);
static int termp_it_pre(DECL_ARGS);
static int termp_li_pre(DECL_ARGS);
@@ -194,12 +193,12 @@ static const struct termact termacts[MDOC_MAX] = {
{ termp_quote_pre, termp_quote_post }, /* Eo */
{ termp_xx_pre, NULL }, /* Fx */
{ termp_bold_pre, NULL }, /* Ms */
- { termp_igndelim_pre, NULL }, /* No */
+ { NULL, NULL }, /* No */
{ termp_ns_pre, NULL }, /* Ns */
{ termp_xx_pre, NULL }, /* Nx */
{ termp_xx_pre, NULL }, /* Ox */
{ NULL, NULL }, /* Pc */
- { termp_igndelim_pre, termp_pf_post }, /* Pf */
+ { NULL, termp_pf_post }, /* Pf */
{ termp_quote_pre, termp_quote_post }, /* Po */
{ termp_quote_pre, termp_quote_post }, /* Pq */
{ NULL, NULL }, /* Qc */
@@ -1788,16 +1787,6 @@ termp_xx_pre(DECL_ARGS)
/* ARGSUSED */
-static int
-termp_igndelim_pre(DECL_ARGS)
-{
-
- p->flags |= TERMP_IGNDELIM;
- return(1);
-}
-
-
-/* ARGSUSED */
static void
termp_pf_post(DECL_ARGS)
{