summaryrefslogtreecommitdiffstats
path: root/term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-08 20:50:12 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-08 20:50:12 +0000
commit68fba3271bc79716f1743bd49dd75bbad59cb00d (patch)
tree374e9c51e1783cab9b88a0aa6ae06738835e24a0 /term.c
parent946b90960143fc668d4b43c0acd0f2b0918fe14c (diff)
downloadmandoc-68fba3271bc79716f1743bd49dd75bbad59cb00d.tar.gz
Added .Ap.
Diffstat (limited to 'term.c')
-rw-r--r--term.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/term.c b/term.c
index e4781c35..8c209a98 100644
--- a/term.c
+++ b/term.c
@@ -130,6 +130,7 @@ DECL_PREPOST(termp_ss);
DECL_PREPOST(termp_sq);
DECL_PREPOST(termp_vt);
+DECL_PRE(termp_ap);
DECL_PRE(termp_ar);
DECL_PRE(termp_at);
DECL_PRE(termp_bf);
@@ -274,6 +275,7 @@ const struct termact __termacts[MDOC_MAX] = {
{ NULL, NULL }, /* Fr */
{ termp_ud_pre, NULL }, /* Ud */
{ termp_lb_pre, termp_lb_post }, /* Lb */
+ { termp_ap_pre, NULL }, /* Lb */
};
const struct termact *termacts = __termacts;
@@ -1700,6 +1702,18 @@ termp_sm_pre(DECL_ARGS)
/* ARGSUSED */
static int
+termp_ap_pre(DECL_ARGS)
+{
+
+ p->flags |= TERMP_NOSPACE;
+ word(p, "\\(aq");
+ p->flags |= TERMP_NOSPACE;
+ return(1);
+}
+
+
+/* ARGSUSED */
+static int
termp__t_pre(DECL_ARGS)
{