diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-24 05:52:13 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-24 05:52:13 +0000 |
commit | 24ca6b6c497fdd0db41b4dcd4172e20ee02df76e (patch) | |
tree | bebe03b1d2de824ceb91acd5b9459a6a55476df8 /mdoc_validate.c | |
parent | 1dd07b15a1d771e23ba0d050538a2e13f10239f6 (diff) | |
download | mandoc-24ca6b6c497fdd0db41b4dcd4172e20ee02df76e.tar.gz |
Added `%U' to -mdoc (doesn't render in a nice way yet).
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r-- | mdoc_validate.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c index 4df96ae4..d9af17ea 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -273,6 +273,7 @@ const struct valids mdoc_valids[MDOC_MAX] = { { NULL, posts_text }, /* %Q */ { NULL, posts_notext }, /* br */ { NULL, posts_sp }, /* sp */ + { NULL, posts_text }, /* %U */ }; @@ -1155,6 +1156,8 @@ post_rs(POST_ARGS) for (nn = mdoc->last->child; nn; nn = nn->next) switch (nn->tok) { + case(MDOC__U): + /* FALLTHROUGH */ case(MDOC__Q): /* FALLTHROUGH */ case(MDOC__C): |