From 164c2ced881cacd1340af5361de6bb6bf55b1b51 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 15 May 2010 06:48:13 +0000 Subject: 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. --- man.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'man.c') 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 * @@ -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)) -- cgit v1.2.3-56-ge451