From e4d387ec9112592d7da65673d6227866ae8199dc Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 17 May 2010 00:46:35 +0000 Subject: Oops: forgot to make roff_cblock() understand the new macros. --- roff.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/roff.c b/roff.c index 7b9784a8..48a77d79 100644 --- a/roff.c +++ b/roff.c @@ -340,7 +340,22 @@ roff_cblock(ROFF_ARGS) return(ROFF_IGN); } - if (ROFF_ig != r->last->tok) { + switch (r->last->tok) { + case (ROFF_am): + /* FALLTHROUGH */ + case (ROFF_ami): + /* FALLTHROUGH */ + case (ROFF_am1): + /* FALLTHROUGH */ + case (ROFF_de): + /* FALLTHROUGH */ + case (ROFF_dei): + /* FALLTHROUGH */ + case (ROFF_de1): + /* FALLTHROUGH */ + case (ROFF_ig): + break; + default: if ( ! (*r->msg)(MANDOCERR_NOSCOPE, r->data, ln, ppos, NULL)) return(ROFF_ERR); return(ROFF_IGN); -- cgit