summaryrefslogtreecommitdiffstats
path: root/term.c
diff options
context:
space:
mode:
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)
{