diff options
author | 2010-05-14 19:52:43 +0000 | |
---|---|---|
committer | 2010-05-14 19:52:43 +0000 | |
commit | bc49dbe17caf2a6bd9a7026019f6b8ca520f8c75 (patch) | |
tree | 0728aca4e989f1dc7955f9d116d392dca66f32e2 /usr.bin/mandoc/mdoc_html.c | |
parent | avoid builtins completely, so avoid possible issues with gcc4. (diff) | |
download | wireguard-openbsd-bc49dbe17caf2a6bd9a7026019f6b8ca520f8c75.tar.xz wireguard-openbsd-bc49dbe17caf2a6bd9a7026019f6b8ca520f8c75.zip |
Integrate kristaps@' end-of-sentence (EOS) framework
which is simpler and more powerful than mine, and remove mine.
* man(7) now has EOS handling, too
* put EOS detection into its own function in libmandoc
* use node and termp flags to communicate the EOS condition
* no more EOS pseudo-macro
* no more non-printable EOS marker character on the formatter level
This slightly breaks EOS detection after trailing punctuation
in mdoc(7) macros, but that will be restored soon.
Diffstat (limited to 'usr.bin/mandoc/mdoc_html.c')
-rw-r--r-- | usr.bin/mandoc/mdoc_html.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mdoc_html.c b/usr.bin/mandoc/mdoc_html.c index f44fcaa7162..60f1416c8f7 100644 --- a/usr.bin/mandoc/mdoc_html.c +++ b/usr.bin/mandoc/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.13 2010/05/14 14:47:44 schwarze Exp $ */ +/* $Id: mdoc_html.c,v 1.14 2010/05/14 19:52:43 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -251,7 +251,6 @@ static const struct htmlmdoc mdocs[MDOC_MAX] = { {mdoc_sp_pre, NULL}, /* br */ {mdoc_sp_pre, NULL}, /* sp */ {mdoc__x_pre, mdoc__x_post}, /* %U */ - {NULL, NULL}, /* eos */ }; |