diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-06-17 14:08:47 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-06-17 14:08:47 +0000 |
commit | faf0f4ffb473b01c18346decdde9edc628919365 (patch) | |
tree | 5353c83c4878525be208c898a99aae186ebcad19 /mdoc_argv.c | |
parent | c7816e955bad4c17d5247b680ac8db55911b8a53 (diff) | |
download | mandoc-faf0f4ffb473b01c18346decdde9edc628919365.tar.gz |
`Bl -column' now correctly handles tail entries (Bl -column -more... arg0...).
Diffstat (limited to 'mdoc_argv.c')
-rw-r--r-- | mdoc_argv.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/mdoc_argv.c b/mdoc_argv.c index 9339dc8e..6ac75d04 100644 --- a/mdoc_argv.c +++ b/mdoc_argv.c @@ -33,6 +33,7 @@ */ /* FIXME .Bf Li raises "macro-like parameter". */ +/* FIXME .Bl -column should deprecate old-groff syntax. */ #define ARGS_QUOTED (1 << 0) #define ARGS_DELIM (1 << 1) @@ -118,7 +119,7 @@ static int mdoc_argflags[MDOC_MAX] = { ARGS_DELIM | ARGS_QUOTED, /* Dl */ 0, /* Bd */ 0, /* Ed */ - 0, /* Bl */ + ARGS_QUOTED, /* Bl */ 0, /* El */ 0, /* It */ ARGS_DELIM, /* Ad */ @@ -781,10 +782,7 @@ argv_multi(struct mdoc *mdoc, int line, return(verr(mdoc, EMALLOC)); } - if (v->sz) - return(1); - - return(perr(mdoc, line, ppos, EARGVAL)); + return(1); } |