version 1.42, 2010/04/27 21:53:27 |
version 1.43, 2010/05/04 23:13:54 |
|
|
|
|
/* |
/* |
* Mark the end of a sentence, but be careful not to insert |
* Mark the end of a sentence, but be careful not to insert |
* markers into reference blocks. |
* markers into reference blocks and after ellipses in |
|
* function definitions. |
*/ |
*/ |
n = m->last; |
n = m->last; |
if (n->child) |
if (n->child) |
n = n->child; |
n = n->child; |
while (n->next) |
while (n->next) |
n = n->next; |
n = n->next; |
if (MDOC_TEXT == n->type && m->last->parent->tok != MDOC_Rs) { |
if (MDOC_TEXT == n->type && |
|
MDOC_Fn != n->parent->tok && |
|
MDOC_Rs != m->last->parent->tok) { |
t = n->string; |
t = n->string; |
while (t[0] && t[1]) |
while (t[0] && t[1]) |
t++; |
t++; |