diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-15 06:48:13 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-15 06:48:13 +0000 |
commit | 63c50855905c3409df3d977f38d5877dc487bde6 (patch) | |
tree | 8a1cc509b171c815e9f38e86148c2b10b5160183 /man.c | |
parent | d28c055c917bb340595af7ae9850188b6613e28d (diff) | |
download | mandoc-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 'man.c')
-rw-r--r-- | man.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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)) |