version 1.15, 2014/04/02 14:50:09 |
version 1.16, 2014/04/02 16:41:02 |
Line 955 ordinary(struct state *st, const char *buf, size_t sta |
|
Line 955 ordinary(struct state *st, const char *buf, size_t sta |
|
* following that, a newline. |
* following that, a newline. |
* Consume all whitespace so we don't |
* Consume all whitespace so we don't |
* accidentally start an implicit literal line. |
* accidentally start an implicit literal line. |
|
* If the macro ends with a flush comma or |
|
* period, let mdoc(7) handle it for us. |
*/ |
*/ |
if (formatcode(st, buf, &start, end, 0, 0, seq)) { |
if (formatcode(st, buf, &start, end, 0, 0, seq)) { |
|
if ((start == end - 1 || |
|
(start < end - 1 && |
|
(' ' == buf[start + 1] || |
|
'\n' == buf[start + 1]))) && |
|
('.' == buf[start] || |
|
',' == buf[start])) { |
|
putchar(' '); |
|
putchar(buf[start++]); |
|
} |
putchar(last = '\n'); |
putchar(last = '\n'); |
while (start < end && ' ' == buf[start]) |
while (start < end && ' ' == buf[start]) |
start++; |
start++; |