diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-19 09:40:23 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-19 09:40:23 +0000 |
commit | e9b4a2a77a14b1e378aec8c2faa388c8f22d89fa (patch) | |
tree | 1f5fd444f471f2031d3d499a20684d92bced2edb | |
parent | d1766a73cce0b73887553dac6e44cdfd9eadd991 (diff) | |
download | mandoc-e9b4a2a77a14b1e378aec8c2faa388c8f22d89fa.tar.gz |
Fixed `-file' argument to `Bd', which is NOT a type, but instead just an argument.
-rw-r--r-- | mdoc_argv.c | 2 | ||||
-rw-r--r-- | mdoc_validate.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/mdoc_argv.c b/mdoc_argv.c index 8f70fe23..47b80ab6 100644 --- a/mdoc_argv.c +++ b/mdoc_argv.c @@ -59,7 +59,7 @@ static int mdoc_argvflags[MDOC_ARG_MAX] = { ARGV_NONE, /* MDOC_Ragged */ ARGV_NONE, /* MDOC_Unfilled */ ARGV_NONE, /* MDOC_Literal */ - ARGV_NONE, /* MDOC_File */ + ARGV_SINGLE, /* MDOC_File */ ARGV_OPT_SINGLE, /* MDOC_Offset */ ARGV_NONE, /* MDOC_Bullet */ ARGV_NONE, /* MDOC_Dash */ diff --git a/mdoc_validate.c b/mdoc_validate.c index f3c00173..7acfc33a 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -703,8 +703,6 @@ pre_bd(PRE_ARGS) case (MDOC_Filled): /* FALLTHROUGH */ case (MDOC_Literal): - /* FALLTHROUGH */ - case (MDOC_File): if (0 == type++) break; return(mdoc_nerr(mdoc, n, EMULTIDISP)); |