summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-29 08:46:06 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-29 08:46:06 +0000
commit0d0ada758ebf9fec3e99dcb0466210b188b27fb9 (patch)
treec726dc7f04c77bab42fc3a73660754fd64bfcb02 /mdoc_term.c
parent39a50150a9a38404b916ac6f01fb2d18eba3b8b3 (diff)
downloadmandoc-0d0ada758ebf9fec3e99dcb0466210b188b27fb9.tar.gz
Moved CALLABLE check to lookup_raw().
Made PARSABLE check occur prior to lookup(). Non-PARSEABLE macros no longer warn against having macro-like parameters. Non-CALLABLE macros no longer produce an error, just display their symbols (as in groff) (pointed out by joerg@netbsd.org).
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 63a7ba9e..28822fac 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1398,7 +1398,10 @@ termp_fd_post(DECL_ARGS)
static int
termp_sh_pre(DECL_ARGS)
{
-
+ /*
+ * FIXME: using two `Sh' macros in sequence has no vspace
+ * between calls, only a newline.
+ */
switch (node->type) {
case (MDOC_HEAD):
term_vspace(p);