diff options
-rw-r--r-- | mdoc.7 | 7 | ||||
-rw-r--r-- | mdoc_macro.c | 4 |
2 files changed, 6 insertions, 5 deletions
@@ -1,4 +1,4 @@ -.\" $Id: mdoc.7,v 1.24 2009/06/11 07:26:35 kristaps Exp $ +.\" $Id: mdoc.7,v 1.25 2009/06/11 19:56:14 kristaps Exp $ .\" .\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se> .\" @@ -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 e918a648..151c023d 100644 --- a/mdoc_macro.c +++ b/mdoc_macro.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_macro.c,v 1.9 2009/06/10 20:18:43 kristaps Exp $ */ +/* $Id: mdoc_macro.c,v 1.10 2009/06/11 19:56:14 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -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 */ |