Return to mandoc.c CVS log | Up to [local] / src / usr.bin / mandoc |
version 1.42, 2013/12/26 02:55:35 | version 1.43, 2013/12/30 00:52:18 | ||
---|---|---|---|
|
|
||
} | } | ||
int | int | ||
mandoc_eos(const char *p, size_t sz, int enclosed) | mandoc_eos(const char *p, size_t sz) | ||
{ | { | ||
const char *q; | const char *q; | ||
int found; | int enclosed, found; | ||
if (0 == sz) | if (0 == sz) | ||
return(0); | return(0); | ||
|
|
||
* propagate outward. | * propagate outward. | ||
*/ | */ | ||
found = 0; | enclosed = found = 0; | ||
for (q = p + (int)sz - 1; q >= p; q--) { | for (q = p + (int)sz - 1; q >= p; q--) { | ||
switch (*q) { | switch (*q) { | ||
case ('\"'): | case ('\"'): |