summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-21 13:45:04 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-21 13:45:04 +0000
commitc33e005e247a7137ccbf111321506ce4aa5f8883 (patch)
tree8db4419b9e55751fa0df4d70ce09db76a84f1772
parent882b76ed67f76f2c0568ddf2aa980875a139fbe5 (diff)
downloadmandoc-c33e005e247a7137ccbf111321506ce4aa5f8883.tar.gz
mandoc-c33e005e247a7137ccbf111321506ce4aa5f8883.tar.zst
mandoc-c33e005e247a7137ccbf111321506ce4aa5f8883.zip
Removed `Pa' underline formatting (no groff does this).
-rw-r--r--mdoc_term.c17
1 files changed, 3 insertions, 14 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 148aaaf5..c4b99112 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.51 2009/07/21 13:34:13 kristaps Exp $ */
+/* $Id: mdoc_term.c,v 1.52 2009/07/21 13:45:04 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -65,7 +65,7 @@ const int ttypes[TTYPE_NMAX] = {
TERMP_UNDER, /* TTYPE_FUNC_ARG */
TERMP_UNDER, /* TTYPE_LINK */
TERMP_BOLD, /* TTYPE_SSECTION */
- TERMP_UNDER, /* TTYPE_FILE */
+ 0, /* TTYPE_FILE */
TERMP_UNDER, /* TTYPE_EMPH */
TERMP_BOLD, /* TTYPE_CONFIG */
TERMP_BOLD, /* TTYPE_CMD */
@@ -154,7 +154,6 @@ static int termp_nd_pre(DECL_ARGS);
static int termp_nm_pre(DECL_ARGS);
static int termp_ns_pre(DECL_ARGS);
static int termp_op_pre(DECL_ARGS);
-static int termp_pa_pre(DECL_ARGS);
static int termp_pf_pre(DECL_ARGS);
static int termp_pp_pre(DECL_ARGS);
static int termp_pq_pre(DECL_ARGS);
@@ -210,7 +209,7 @@ static const struct termact termacts[MDOC_MAX] = {
{ termp_nm_pre, NULL }, /* Nm */
{ termp_op_pre, termp_op_post }, /* Op */
{ NULL, NULL }, /* Ot */
- { termp_pa_pre, NULL }, /* Pa */
+ { NULL, NULL }, /* Pa */
{ termp_rv_pre, NULL }, /* Rv */
{ NULL, NULL }, /* St */
{ termp_va_pre, NULL }, /* Va */
@@ -1761,16 +1760,6 @@ termp_ss_post(DECL_ARGS)
/* ARGSUSED */
static int
-termp_pa_pre(DECL_ARGS)
-{
-
- pair->flag |= ttypes[TTYPE_FILE];
- return(1);
-}
-
-
-/* ARGSUSED */
-static int
termp_em_pre(DECL_ARGS)
{