summaryrefslogtreecommitdiffstatshomepage
path: root/macro.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-02-24 16:16:45 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-02-24 16:16:45 +0000
commit41abdca0a25e1aa6d4a90432abb97b1f5d036ddf (patch)
tree443533d7dda28b65dbf38a006350495e35658fbf /macro.c
parentc87a07532da610224c11be712ee9d340ca5e1e80 (diff)
downloadmandoc-41abdca0a25e1aa6d4a90432abb97b1f5d036ddf.tar.gz
mandoc-41abdca0a25e1aa6d4a90432abb97b1f5d036ddf.tar.zst
mandoc-41abdca0a25e1aa6d4a90432abb97b1f5d036ddf.zip
Raft of mdocterm callbacks in place.
Fixed Fo/Fc handling in validate/mdocterm.
Diffstat (limited to 'macro.c')
-rw-r--r--macro.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/macro.c b/macro.c
index acf94fc0..b72b2fc5 100644
--- a/macro.c
+++ b/macro.c
@@ -1,4 +1,4 @@
-/* $Id: macro.c,v 1.51 2009/02/23 12:45:19 kristaps Exp $ */
+/* $Id: macro.c,v 1.52 2009/02/24 16:16:45 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -170,8 +170,7 @@ const struct mdoc_macro __mdoc_macros[MDOC_MAX] = {
{ macro_constant_scoped, MDOC_CALLABLE | MDOC_PARSED | MDOC_EXPLICIT }, /* Xo */
/* XXX - .Fo supposed to be (but isn't) callable. */
{ macro_scoped, MDOC_EXPLICIT }, /* Fo */
- /* XXX - .Fc supposed to be (but isn't) callable. */
- { macro_scoped_close, MDOC_EXPLICIT }, /* Fc */
+ { macro_scoped_close, MDOC_EXPLICIT | MDOC_CALLABLE | MDOC_PARSED }, /* Fc */
{ macro_constant_scoped, MDOC_CALLABLE | MDOC_PARSED | MDOC_EXPLICIT }, /* Oo */
{ macro_scoped_close, MDOC_EXPLICIT | MDOC_CALLABLE | MDOC_PARSED }, /* Oc */
{ macro_scoped, MDOC_EXPLICIT }, /* Bk */