summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_macro.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-04-06 07:17:51 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-04-06 07:17:51 +0000
commit91247546027e6bc2d0aa0b60ccebdc2d07dab0db (patch)
treed83cfb5aab1fee612baa93e76fe455cc232b7b9a /mdoc_macro.c
parente6f3a812b7e2531d4862d94e46075d927ff2558a (diff)
downloadmandoc-91247546027e6bc2d0aa0b60ccebdc2d07dab0db.tar.gz
mandoc-91247546027e6bc2d0aa0b60ccebdc2d07dab0db.tar.zst
mandoc-91247546027e6bc2d0aa0b60ccebdc2d07dab0db.zip
Fix mdoc bug found by Claus Assmann: `Pf' should be callable.
Diffstat (limited to 'mdoc_macro.c')
-rw-r--r--mdoc_macro.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_macro.c b/mdoc_macro.c
index 2a5bcc80..d58825f7 100644
--- a/mdoc_macro.c
+++ b/mdoc_macro.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_macro.c,v 1.51 2010/04/05 08:45:29 kristaps Exp $ */
+/* $Id: mdoc_macro.c,v 1.52 2010/04/06 07:17:51 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -139,7 +139,7 @@ const struct mdoc_macro __mdoc_macros[MDOC_MAX] = {
{ in_line_argn, MDOC_CALLABLE | MDOC_PARSED }, /* Nx */
{ in_line_argn, MDOC_CALLABLE | MDOC_PARSED }, /* Ox */
{ blk_exp_close, MDOC_EXPLICIT | MDOC_CALLABLE | MDOC_PARSED }, /* Pc */
- { in_line_argn, MDOC_PARSED | MDOC_IGNDELIM }, /* Pf */
+ { in_line_argn, MDOC_CALLABLE | MDOC_PARSED | MDOC_IGNDELIM }, /* Pf */
{ blk_part_exp, MDOC_CALLABLE | MDOC_PARSED | MDOC_EXPLICIT }, /* Po */
{ blk_part_imp, MDOC_CALLABLE | MDOC_PARSED }, /* Pq */
{ blk_exp_close, MDOC_EXPLICIT | MDOC_CALLABLE | MDOC_PARSED }, /* Qc */