summaryrefslogtreecommitdiffstatshomepage
path: root/man.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-15 06:48:13 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-15 06:48:13 +0000
commit164c2ced881cacd1340af5361de6bb6bf55b1b51 (patch)
tree426a0365f7adcef91c9e1eb2b7f76d7fe57c50e5 /man.c
parent2f982d9463ec2021851fa038a13f83f1de048de4 (diff)
downloadmandoc-164c2ced881cacd1340af5361de6bb6bf55b1b51.tar.gz
mandoc-164c2ced881cacd1340af5361de6bb6bf55b1b51.tar.zst
mandoc-164c2ced881cacd1340af5361de6bb6bf55b1b51.zip
More EOS: append_delims() fitted with EOS detection, so ANY macro with appended delimiters will properly EOS.
Fixed mandoc_eos() to accept sentence punctuation followed by close-delim buffers.
Diffstat (limited to 'man.c')
-rw-r--r--man.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/man.c b/man.c
index 79f2e452..28c00c90 100644
--- a/man.c
+++ b/man.c
@@ -1,4 +1,4 @@
-/* $Id: man.c,v 1.66 2010/05/12 17:08:03 kristaps Exp $ */
+/* $Id: man.c,v 1.67 2010/05/15 06:48:13 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -426,6 +426,8 @@ man_ptext(struct man *m, int line, char *buf)
* sentence. The front-end will know how to interpret this.
*/
+ /* FIXME: chain of close delims. */
+
assert(i);
if (mandoc_eos(buf, (size_t)i))