summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/html.h
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-12-02 10:07:17 +0000
committerschwarze <schwarze@openbsd.org>2014-12-02 10:07:17 +0000
commit64c3401c9d7b678fca49a2777f3b21e6ef0c011c (patch)
treeec9c83f9c5154d0697d3c72c87996fcf8bf076f4 /usr.bin/mandoc/html.h
parentmacro cleanup; kaspars at bankovskis dot net (diff)
downloadwireguard-openbsd-64c3401c9d7b678fca49a2777f3b21e6ef0c011c.tar.xz
wireguard-openbsd-64c3401c9d7b678fca49a2777f3b21e6ef0c011c.zip
Fix the implementation and documentation of \c (continue text input line).
In particular, make it work in no-fill mode, too. Reminded by Carsten dot Kunze at arcor dot de (Heirloom roff).
Diffstat (limited to 'usr.bin/mandoc/html.h')
-rw-r--r--usr.bin/mandoc/html.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/html.h b/usr.bin/mandoc/html.h
index 90a9da18de3..3a340fb805f 100644
--- a/usr.bin/mandoc/html.h
+++ b/usr.bin/mandoc/html.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: html.h,v 1.31 2014/12/01 08:05:02 schwarze Exp $ */
+/* $OpenBSD: html.h,v 1.32 2014/12/02 10:07:17 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -126,6 +126,7 @@ struct html {
#define HTML_SKIPCHAR (1 << 6) /* skip the next character */
#define HTML_NOSPLIT (1 << 7) /* do not break line before .An */
#define HTML_SPLIT (1 << 8) /* break line before .An */
+#define HTML_NONEWLINE (1 << 9) /* No line break in nofill mode. */
struct tagq tags; /* stack of open tags */
struct rofftbl tbl; /* current table */
struct tag *tblt; /* current open table scope */