diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-29 08:46:06 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-29 08:46:06 +0000 |
commit | 0d0ada758ebf9fec3e99dcb0466210b188b27fb9 (patch) | |
tree | c726dc7f04c77bab42fc3a73660754fd64bfcb02 /mdoc_term.c | |
parent | 39a50150a9a38404b916ac6f01fb2d18eba3b8b3 (diff) | |
download | mandoc-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.c | 5 |
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); |