summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-12 20:30:35 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-12 20:30:35 +0000
commit9d568b7d9d058612eaec8cbbc8a2161cd895aa1a (patch)
tree2e1d7276ed0e822ac0df63676947fa8ad1f5816e /mdoc_term.c
parentf3e14f7db517bde63e7c9d721ed20dd06b251e75 (diff)
downloadmandoc-9d568b7d9d058612eaec8cbbc8a2161cd895aa1a.tar.gz
mandoc-9d568b7d9d058612eaec8cbbc8a2161cd895aa1a.tar.zst
mandoc-9d568b7d9d058612eaec8cbbc8a2161cd895aa1a.zip
Moved mdoc_a2st() out of mdoc.h -> libmdoc.h (replacement in mdoc_action.c).
Made bad standards into an error (were a warning).
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 81b786fd..122e3534 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.35 2009/07/12 20:24:24 kristaps Exp $ */
+/* $Id: mdoc_term.c,v 1.36 2009/07/12 20:30:35 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -166,7 +166,6 @@ static int termp_sh_pre(DECL_ARGS);
static int termp_sm_pre(DECL_ARGS);
static int termp_sq_pre(DECL_ARGS);
static int termp_ss_pre(DECL_ARGS);
-static int termp_st_pre(DECL_ARGS);
static int termp_sx_pre(DECL_ARGS);
static int termp_sy_pre(DECL_ARGS);
static int termp_ud_pre(DECL_ARGS);
@@ -213,7 +212,7 @@ static const struct termact termacts[MDOC_MAX] = {
{ NULL, NULL }, /* Ot */
{ termp_pa_pre, NULL }, /* Pa */
{ termp_rv_pre, NULL }, /* Rv */
- { termp_st_pre, NULL }, /* St */
+ { NULL, NULL }, /* St */
{ termp_va_pre, NULL }, /* Va */
{ termp_vt_pre, termp_vt_post }, /* Vt */
{ termp_xr_pre, NULL }, /* Xr */
@@ -1042,18 +1041,6 @@ termp_pp_pre(DECL_ARGS)
/* ARGSUSED */
static int
-termp_st_pre(DECL_ARGS)
-{
- const char *cp;
-
- if (node->child && (cp = mdoc_a2st(node->child->string)))
- term_word(p, cp);
- return(0);
-}
-
-
-/* ARGSUSED */
-static int
termp_rs_pre(DECL_ARGS)
{