summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-26 10:39:35 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-26 10:39:35 +0000
commit878d84055a253f63524c12172dd09c9044ad0afd (patch)
tree279ebf5690ecb93404f3c6dc07bc4a4f6d68cf22 /mdoc_term.c
parent7d24aa6b61fc7c0a61348119c53447f5c9b1b892 (diff)
downloadmandoc-878d84055a253f63524c12172dd09c9044ad0afd.tar.gz
Documented `Ud'.
Proper EOS handling for `Rv', `Ex', `Ud', and `Bt'. Both `Bt' and `Ud' now warn about and discard line arguments (reported by Ulrich Spoerlein). Collapsed posts_xr into posts_wtext (harmless: they're the same thing). Added regressions for `Ud' and `Bt'.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 7861e080..943a880d 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1192,6 +1192,7 @@ termp_rv_pre(DECL_ARGS)
term_fontpop(p);
term_word(p, "is set to indicate the error.");
+ p->flags |= TERMP_SENTENCE;
return(0);
}
@@ -1224,6 +1225,7 @@ termp_ex_pre(DECL_ARGS)
term_word(p, "utility exits");
term_word(p, "0 on success, and >0 if an error occurs.");
+ p->flags |= TERMP_SENTENCE;
return(0);
}
@@ -1425,6 +1427,7 @@ termp_bt_pre(DECL_ARGS)
{
term_word(p, "is currently in beta test.");
+ p->flags |= TERMP_SENTENCE;
return(0);
}
@@ -1445,6 +1448,7 @@ termp_ud_pre(DECL_ARGS)
{
term_word(p, "currently under development.");
+ p->flags |= TERMP_SENTENCE;
return(0);
}