summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-17 00:46:35 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-17 00:46:35 +0000
commite4d387ec9112592d7da65673d6227866ae8199dc (patch)
tree2cbd49ff484e01106d5286e1adce545312af9fdd
parented77c8c0f32c51892ac65e7c6483243843597b43 (diff)
downloadmandoc-e4d387ec9112592d7da65673d6227866ae8199dc.tar.gz
Oops: forgot to make roff_cblock() understand the new macros.
-rw-r--r--roff.c17
1 files changed, 16 insertions, 1 deletions
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);