From 276ddbc20f4715e04d08fc32407c770bf4cdbd8e Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Thu, 1 Jul 2010 14:28:12 +0000 Subject: p->end is an enum: treat it as such. --- mdoc_macro.c | 4 ++-- 1 file 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; } -- cgit