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 | 21ec3346fa05f739794d70ac162859e993391cc7 (patch) | |
tree | c8ceb0b38c8f3893e154a83b8025049055343d79 /mdoc_term.c | |
parent | 60e690efb5ba94b4f6129c87b27d1f9d9e0ce55c (diff) | |
download | mandoc-21ec3346fa05f739794d70ac162859e993391cc7.tar.gz mandoc-21ec3346fa05f739794d70ac162859e993391cc7.tar.zst mandoc-21ec3346fa05f739794d70ac162859e993391cc7.zip |
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 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index e805bce5..eff5b573 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.63 2009/07/25 16:03:03 kristaps Exp $ */ +/* $Id: mdoc_term.c,v 1.64 2009/07/29 08:46:06 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -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); |