version 1.57, 2019/05/01 17:20:47 |
version 1.58, 2019/05/02 04:09:26 |
Line 354 pnode_closetext(struct parse *p, int check_last_word) |
|
Line 354 pnode_closetext(struct parse *p, int check_last_word) |
|
|
|
while (cp > n->b && !isspace((unsigned char)cp[-1])) |
while (cp > n->b && !isspace((unsigned char)cp[-1])) |
cp--; |
cp--; |
if (cp == n->b) |
|
return; |
|
|
|
last_word = cp; |
last_word = cp; |
while (cp > n->b && isspace((unsigned char)cp[-1])) |
while (cp > n->b && isspace((unsigned char)cp[-1])) |
*--cp = '\0'; |
cp--; |
|
if (cp == n->b) |
|
return; |
|
*cp = '\0'; |
|
|
/* Move the last word into its own node, for use with .Pf. */ |
/* Move the last word into its own node, for use with .Pf. */ |
|
|