version 1.20, 2014/04/03 11:34:30 |
version 1.21, 2014/04/03 11:55:01 |
Line 179 formatescape(const char *buf, size_t *start, size_t en |
|
Line 179 formatescape(const char *buf, size_t *start, size_t en |
|
static int |
static int |
trylink(const char *buf, size_t *start, size_t end, size_t dsz) |
trylink(const char *buf, size_t *start, size_t end, size_t dsz) |
{ |
{ |
size_t linkstart, realend, linkend, i, j, textsz; |
size_t linkstart, realend, linkend, |
|
i, j, textsz, stack; |
const char *text; |
const char *text; |
|
|
/* |
/* |
Line 187 trylink(const char *buf, size_t *start, size_t end, si |
|
Line 188 trylink(const char *buf, size_t *start, size_t end, si |
|
* This function is more or less replicated in the formatcode() |
* This function is more or less replicated in the formatcode() |
* for null or index formatting codes. |
* for null or index formatting codes. |
*/ |
*/ |
|
stack = 0; |
for (linkstart = realend = *start; realend < end; realend++) { |
for (linkstart = realend = *start; realend < end; realend++) { |
if ('>' != buf[realend]) |
if ('>' != buf[realend]) |
continue; |
continue; |