summaryrefslogtreecommitdiffstats
path: root/mdoc.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
commit63c50855905c3409df3d977f38d5877dc487bde6 (patch)
tree8a1cc509b171c815e9f38e86148c2b10b5160183 /mdoc.c
parentd28c055c917bb340595af7ae9850188b6613e28d (diff)
downloadmandoc-63c50855905c3409df3d977f38d5877dc487bde6.tar.gz
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 'mdoc.c')
-rw-r--r--mdoc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdoc.c b/mdoc.c
index b840482b..092d67be 100644
--- a/mdoc.c
+++ b/mdoc.c
@@ -701,6 +701,8 @@ mdoc_ptext(struct mdoc *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))