diff options
-rw-r--r-- | mdoc.7 | 5 | ||||
-rw-r--r-- | mdoc_macro.c | 2 |
2 files changed, 4 insertions, 3 deletions
@@ -393,7 +393,7 @@ then the macro accepts an arbitrary number of arguments. .It \&.Os Ta \&No Ta \&No Ta n .It \&.Pp Ta \&No Ta \&No Ta 0 .It \&.Ad Ta Yes Ta Yes Ta n -.It \&.An Ta \&No Ta Yes Ta n +.It \&.An Ta Yes Ta Yes Ta n .It \&.Ar Ta Yes Ta Yes Ta n .It \&.Cd Ta Yes Ta \&No Ta >0 .It \&.Cm Ta Yes Ta Yes Ta n @@ -479,7 +479,8 @@ compatibility with these systems. .Bl -dash -compact .\" LIST-ITEM .It -.Sq \&.Fo +.Sq \&.An , +.Sq \&.Fo , and .Sq \&.St historically weren't always callable. Both are now correctly callable. diff --git a/mdoc_macro.c b/mdoc_macro.c index 91ee2761..add06c9d 100644 --- a/mdoc_macro.c +++ b/mdoc_macro.c @@ -89,7 +89,7 @@ const struct mdoc_macro __mdoc_macros[MDOC_MAX] = { { blk_exp_close, MDOC_EXPLICIT }, /* El */ { blk_full, MDOC_PARSED }, /* It */ { in_line, MDOC_CALLABLE | MDOC_PARSED }, /* Ad */ - { in_line, MDOC_PARSED }, /* An */ + { in_line, MDOC_CALLABLE | MDOC_PARSED }, /* An */ { in_line, MDOC_CALLABLE | MDOC_PARSED }, /* Ar */ { in_line_eoln, MDOC_CALLABLE }, /* Cd */ { in_line, MDOC_CALLABLE | MDOC_PARSED }, /* Cm */ |