diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-01 14:28:12 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-01 14:28:12 +0000 |
commit | 276ddbc20f4715e04d08fc32407c770bf4cdbd8e (patch) | |
tree | 1449e794e76fd5fe9e0fd3a84b28ebec54a9f0fc /mdoc_macro.c | |
parent | 24c6fa8ac2ce2f4beae4ada2ac4848432f34b668 (diff) | |
download | mandoc-276ddbc20f4715e04d08fc32407c770bf4cdbd8e.tar.gz |
p->end is an enum: treat it as such.
Diffstat (limited to 'mdoc_macro.c')
-rw-r--r-- | mdoc_macro.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_macro.c b/mdoc_macro.c index 10baaec7..82cca0c6 100644 --- a/mdoc_macro.c +++ b/mdoc_macro.c @@ -411,7 +411,7 @@ rew_dohalt(enum mdoct tok, enum mdoc_type type, * Default block rewinding rules. * In particular, always skip block end markers. */ - if (p->end || (MDOC_BLOCK == p->type && + if (ENDBODY_NOT != p->end || (MDOC_BLOCK == p->type && ! (MDOC_EXPLICIT & mdoc_macros[tok].flags))) return(REWIND_MORE); @@ -648,7 +648,7 @@ blk_exp_close(MACRO_PROT_ARGS) /* Remember the start of our own body. */ if (MDOC_BODY == n->type && atok == n->tok) { - if ( ! n->end) + if (ENDBODY_NOT == n->end) body = n; continue; } |