summaryrefslogtreecommitdiffstatshomepage
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
commitedebd366803524ac2fde5ebf8a576ea4c29dabc3 (patch)
tree695fece2529c9a1479a2d1a6e63bd466f3e2c917 /mdoc_term.c
parentf8ede7a108bd19b4ecd301b946e6b634d7e98d5b (diff)
downloadmandoc-edebd366803524ac2fde5ebf8a576ea4c29dabc3.tar.gz
mandoc-edebd366803524ac2fde5ebf8a576ea4c29dabc3.tar.zst
mandoc-edebd366803524ac2fde5ebf8a576ea4c29dabc3.zip
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.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 3503483a..f149d5c0 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.130 2010/05/24 21:51:20 schwarze Exp $ */
+/* $Id: mdoc_term.c,v 1.131 2010/05/26 10:39:35 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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);
}