summaryrefslogtreecommitdiffstatshomepage
path: root/macro.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-08 20:50:12 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-08 20:50:12 +0000
commitc744f48b5fc53bd65103347682c3cb21e22e93aa (patch)
treef4b63562c1373a7270f223f1d88350daedfd38c3 /macro.c
parent5410a79872e5e765de34d19df2959124707f5c9f (diff)
downloadmandoc-c744f48b5fc53bd65103347682c3cb21e22e93aa.tar.gz
mandoc-c744f48b5fc53bd65103347682c3cb21e22e93aa.tar.zst
mandoc-c744f48b5fc53bd65103347682c3cb21e22e93aa.zip
Added .Ap.
Diffstat (limited to 'macro.c')
-rw-r--r--macro.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/macro.c b/macro.c
index 548bc103..265f7dbf 100644
--- a/macro.c
+++ b/macro.c
@@ -1,4 +1,4 @@
-/* $Id: macro.c,v 1.60 2009/03/08 19:32:03 kristaps Exp $ */
+/* $Id: macro.c,v 1.61 2009/03/08 20:50:12 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -181,6 +181,7 @@ const struct mdoc_macro __mdoc_macros[MDOC_MAX] = {
{ macro_obsolete, 0 }, /* Fr */
{ macro_constant, 0 }, /* Ud */
{ macro_constant, 0 }, /* Lb */
+ { macro_constant_delimited, MDOC_CALLABLE | MDOC_PARSED }, /* Ap */
};
const struct mdoc_macro * const mdoc_macros = __mdoc_macros;
@@ -1204,6 +1205,8 @@ macro_constant_delimited(MACRO_PROT_ARGS)
*/
switch (tok) {
+ case (MDOC_Ap):
+ /* FALLTHROUGH */
case (MDOC_No):
/* FALLTHROUGH */
case (MDOC_Ns):