diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-17 00:46:35 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-17 00:46:35 +0000 |
commit | e4d387ec9112592d7da65673d6227866ae8199dc (patch) | |
tree | 2cbd49ff484e01106d5286e1adce545312af9fdd /roff.c | |
parent | ed77c8c0f32c51892ac65e7c6483243843597b43 (diff) | |
download | mandoc-e4d387ec9112592d7da65673d6227866ae8199dc.tar.gz |
Oops: forgot to make roff_cblock() understand the new macros.
Diffstat (limited to 'roff.c')
-rw-r--r-- | roff.c | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -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); |