version 1.4, 2009/03/23 15:41:09 |
version 1.5, 2009/03/25 15:17:49 |
Line 56 man_macro(struct man *man, int tok, int line, |
|
Line 56 man_macro(struct man *man, int tok, int line, |
|
man->next = MAN_NEXT_SIBLING; |
man->next = MAN_NEXT_SIBLING; |
} |
} |
|
|
/* TODO: validate & actions. */ |
for ( ; man->last && man->last != n; |
|
man->last = man->last->parent) |
|
if ( ! man_valid_post(man)) |
|
return(0); |
|
|
man->last = n; |
assert(man->last); |
|
if ( ! man_valid_post(man)) |
|
return(0); |
man->next = MAN_NEXT_SIBLING; |
man->next = MAN_NEXT_SIBLING; |
|
|
return(1); |
return(1); |