version 1.9, 2009/02/25 12:09:20 |
version 1.10, 2009/02/25 12:27:37 |
Line 416 body(struct termp *p, const struct mdoc_meta *meta, |
|
Line 416 body(struct termp *p, const struct mdoc_meta *meta, |
|
|
|
dochild = 1; |
dochild = 1; |
pair.type = 0; |
pair.type = 0; |
|
pair.offset = 0; |
|
pair.flag = 0; |
|
|
if (MDOC_TEXT != node->type) { |
if (MDOC_TEXT != node->type) { |
if (termacts[node->tok].pre) |
if (termacts[node->tok].pre) |
Line 426 body(struct termp *p, const struct mdoc_meta *meta, |
|
Line 428 body(struct termp *p, const struct mdoc_meta *meta, |
|
|
|
/* Children. */ |
/* Children. */ |
|
|
switch (pair.type) { |
if (TERMPAIR_FLAG & pair.type) |
case (TERMPAIR_FLAG): |
p->flags |= pair.flag; |
p->flags |= pair.data.flag; |
|
break; |
|
default: |
|
break; |
|
} |
|
|
|
if (dochild && node->child) |
if (dochild && node->child) |
body(p, meta, node->child); |
body(p, meta, node->child); |
|
|
switch (pair.type) { |
if (TERMPAIR_FLAG & pair.type) |
case (TERMPAIR_FLAG): |
p->flags &= ~pair.flag; |
p->flags &= ~pair.data.flag; |
|
break; |
|
default: |
|
break; |
|
} |
|
|
|
/* Post-processing. */ |
/* Post-processing. */ |
|
|