summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-12 20:24:24 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-12 20:24:24 +0000
commitf3e14f7db517bde63e7c9d721ed20dd06b251e75 (patch)
treea8b97ce401d09b195c3b03c2af2fe259bbc58e12 /mdoc_term.c
parent5e21bb33df24e242095453a08d9202eec3616268 (diff)
downloadmandoc-f3e14f7db517bde63e7c9d721ed20dd06b251e75.tar.gz
mandoc-f3e14f7db517bde63e7c9d721ed20dd06b251e75.tar.zst
mandoc-f3e14f7db517bde63e7c9d721ed20dd06b251e75.zip
Moved mdoc_a2att() into libmdoc (replacement happens in mdoc_action.c).
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c23
1 files changed, 2 insertions, 21 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 5709f1bf..81b786fd 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.34 2009/07/12 20:07:04 kristaps Exp $ */
+/* $Id: mdoc_term.c,v 1.35 2009/07/12 20:24:24 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -127,7 +127,6 @@ static int termp__t_pre(DECL_ARGS);
static int termp_ap_pre(DECL_ARGS);
static int termp_aq_pre(DECL_ARGS);
static int termp_ar_pre(DECL_ARGS);
-static int termp_at_pre(DECL_ARGS);
static int termp_bd_pre(DECL_ARGS);
static int termp_bf_pre(DECL_ARGS);
static int termp_bq_pre(DECL_ARGS);
@@ -232,7 +231,7 @@ static const struct termact termacts[MDOC_MAX] = {
{ NULL, NULL }, /* Ac */
{ termp_aq_pre, termp_aq_post }, /* Ao */
{ termp_aq_pre, termp_aq_post }, /* Aq */
- { termp_at_pre, NULL }, /* At */
+ { NULL, NULL }, /* At */
{ NULL, NULL }, /* Bc */
{ termp_bf_pre, NULL }, /* Bf */
{ termp_bq_pre, termp_bq_post }, /* Bo */
@@ -1838,24 +1837,6 @@ termp_in_post(DECL_ARGS)
/* ARGSUSED */
static int
-termp_at_pre(DECL_ARGS)
-{
- const char *att;
-
- att = NULL;
-
- if (node->child)
- att = mdoc_a2att(node->child->string);
- if (NULL == att)
- att = "AT&T UNIX";
-
- term_word(p, att);
- return(0);
-}
-
-
-/* ARGSUSED */
-static int
termp_brq_pre(DECL_ARGS)
{