From 41abdca0a25e1aa6d4a90432abb97b1f5d036ddf Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 24 Feb 2009 16:16:45 +0000 Subject: Raft of mdocterm callbacks in place. Fixed Fo/Fc handling in validate/mdocterm. --- macro.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'macro.c') 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 * @@ -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 */ -- cgit v1.2.3