diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-21 13:37:31 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-21 13:37:31 +0000 |
commit | 57d7c3d839741e0ac6c7ebb01ace142670b68918 (patch) | |
tree | 2566307e6cdb0e980ae329c6b382f0a9e8db63c5 | |
parent | 13ccee516125794901c44d41d8f589bddbae5aa7 (diff) | |
download | mandoc-57d7c3d839741e0ac6c7ebb01ace142670b68918.tar.gz |
More macros freed from unnecessary limitations on numargs.
-rw-r--r-- | mdoc.7 | 10 | ||||
-rw-r--r-- | validate.c | 8 |
2 files changed, 9 insertions, 9 deletions
@@ -782,9 +782,9 @@ then the macro accepts an arbitrary number of arguments. .It \&.Ar Ta Yes Ta Yes Ta n .It \&.Cd Ta Yes Ta \&No Ta >0 .It \&.Cm Ta Yes Ta Yes Ta n -.It \&.Dv Ta Yes Ta Yes Ta >0 +.It \&.Dv Ta Yes Ta Yes Ta n .It \&.Er Ta Yes Ta Yes Ta >0 -.It \&.Ev Ta Yes Ta Yes Ta >0 +.It \&.Ev Ta Yes Ta Yes Ta n .It \&.Ex Ta \&No Ta \&No Ta 0 .It \&.Fa Ta Yes Ta Yes Ta >0 .It \&.Fd Ta \&No Ta \&No Ta >0 @@ -793,14 +793,14 @@ then the macro accepts an arbitrary number of arguments. .It \&.Ft Ta \&No Ta Yes Ta n .It \&.Ic Ta Yes Ta Yes Ta >0 .It \&.In Ta \&No Ta \&No Ta n -.It \&.Li Ta Yes Ta Yes Ta >0 +.It \&.Li Ta Yes Ta Yes Ta n .It \&.Nd Ta \&No Ta \&No Ta n .It \&.Nm Ta Yes Ta Yes Ta n .It \&.Ot Ta \&No Ta \&No Ta n .It \&.Pa Ta Yes Ta Yes Ta n .It \&.Rv Ta \&No Ta \&No Ta 0 .It \&.St Ta \&No Ta Yes Ta 1 -.It \&.Va Ta Yes Ta Yes Ta >0 +.It \&.Va Ta Yes Ta Yes Ta n .It \&.Vt Ta Yes Ta Yes Ta >0 .It \&.Xr Ta Yes Ta Yes Ta >0, <3 .It \&.%A Ta \&No Ta \&No Ta >0 @@ -819,7 +819,7 @@ then the macro accepts an arbitrary number of arguments. .It \&.Bsx Ta Yes Ta Yes Ta n .It \&.Bx Ta Yes Ta Yes Ta n .It \&.Db Ta \&No Ta \&No Ta 1 -.It \&.Em Ta Yes Ta Yes Ta >0 +.It \&.Em Ta Yes Ta Yes Ta n .It \&.Fx Ta Yes Ta Yes Ta n .It \&.Ms Ta \&No Ta Yes Ta >0 .It \&.No Ta Yes Ta Yes Ta 0 @@ -216,9 +216,9 @@ const struct valids mdoc_valids[MDOC_MAX] = { { NULL, NULL }, /* Ar */ { pres_cd, posts_text }, /* Cd */ { NULL, NULL }, /* Cm */ - { NULL, posts_text }, /* Dv */ + { NULL, NULL }, /* Dv */ { pres_er, posts_text }, /* Er */ - { NULL, posts_text }, /* Ev */ + { NULL, NULL }, /* Ev */ { pres_ex, posts_ex }, /* Ex */ { NULL, posts_text }, /* Fa */ { pres_fd, posts_wtext }, /* Fd */ @@ -227,7 +227,7 @@ const struct valids mdoc_valids[MDOC_MAX] = { { NULL, posts_wtext }, /* Ft */ { NULL, posts_text }, /* Ic */ { NULL, posts_in }, /* In */ - { NULL, posts_text }, /* Li */ + { NULL, NULL }, /* Li */ { NULL, posts_wtext }, /* Nd */ { NULL, posts_nm }, /* Nm */ { NULL, posts_wline }, /* Op */ @@ -235,7 +235,7 @@ const struct valids mdoc_valids[MDOC_MAX] = { { NULL, NULL }, /* Pa */ { pres_rv, posts_rv }, /* Rv */ { NULL, posts_st }, /* St */ - { NULL, posts_text }, /* Va */ + { NULL, NULL }, /* Va */ { NULL, posts_text }, /* Vt */ { NULL, posts_xr }, /* Xr */ { NULL, posts_text }, /* %A */ |