summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mdoc_term.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2010-06-06 18:08:42 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2010-06-06 18:08:42 +0000
commite63e697bedbb9649d9bb7b924b7b17fe2f675c6c (patch)
treee8acbe3cfe405322142abee52cb4e5b105fe1014 /usr.bin/mandoc/mdoc_term.c
parent543a8dc3357c78204d94ced0db8695ea9bf8dfd7 (diff)
Merge bsd.lv release 1.10.0,
which is mostly the post-hackathon release, bringing in the OpenBSD changes to bsd.lv, but which also has a few additional minor fixes: * .Lb is an in-line macro, not in_line_eoln * .Bt, .Ud now warn when discarding arguments * allow bad -man dates to flow verbatim into the front-ends - so far all reported by Ulrich Spoerlein * .Ar, .Fl and .Li starting with closing punctuation emit an empty element * empty .Li macros print nothing, but may cause spacing * proper EOS handling for .Bt, .Ex, .Rv, and .Ud. * cleanup: collapse posts_xr into posts_wtext (which is the same) * efficiency: very simple table lookup for roff.c
Diffstat (limited to 'usr.bin/mandoc/mdoc_term.c')
-rw-r--r--usr.bin/mandoc/mdoc_term.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/mandoc/mdoc_term.c b/usr.bin/mandoc/mdoc_term.c
index c07ff140199..43d2a3d3593 100644
--- a/usr.bin/mandoc/mdoc_term.c
+++ b/usr.bin/mandoc/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.83 2010/05/24 00:37:01 schwarze Exp $ */
+/* $Id: mdoc_term.c,v 1.84 2010/06/06 18:08:41 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -1188,6 +1188,7 @@ termp_rv_pre(DECL_ARGS)
term_fontpop(p);
term_word(p, "is set to indicate the error.");
+ p->flags |= TERMP_SENTENCE;
return(0);
}
@@ -1220,6 +1221,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);
}
@@ -1421,6 +1423,7 @@ termp_bt_pre(DECL_ARGS)
{
term_word(p, "is currently in beta test.");
+ p->flags |= TERMP_SENTENCE;
return(0);
}
@@ -1441,6 +1444,7 @@ termp_ud_pre(DECL_ARGS)
{
term_word(p, "currently under development.");
+ p->flags |= TERMP_SENTENCE;
return(0);
}