summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdoc.75
-rw-r--r--mdoc_macro.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/mdoc.7 b/mdoc.7
index 33e2d849..0497368f 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -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 */