summaryrefslogtreecommitdiffstats
path: root/mdoc_macro.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-23 15:41:09 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-23 15:41:09 +0000
commitb657e31a9ec6631499c82ab01201bfb7db357ba3 (patch)
treeb4d902aaa9d17e0684c61f1912c194589fb05bc1 /mdoc_macro.c
parent858ffa5feefe929dcf0dabf5d771106577f1d9e7 (diff)
downloadmandoc-b657e31a9ec6631499c82ab01201bfb7db357ba3.tar.gz
-man linked to mandoc in documentation.
Diffstat (limited to 'mdoc_macro.c')
-rw-r--r--mdoc_macro.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/mdoc_macro.c b/mdoc_macro.c
index bcc6132e..6693b132 100644
--- a/mdoc_macro.c
+++ b/mdoc_macro.c
@@ -305,13 +305,10 @@ swarn(struct mdoc *mdoc, enum mdoc_type type,
* are errors.
*/
int
-macro_end(struct mdoc *mdoc)
+mdoc_macroend(struct mdoc *mdoc)
{
struct mdoc_node *n;
- assert(mdoc->first);
- assert(mdoc->last);
-
/* Scan for open explicit scopes. */
n = MDOC_VALID & mdoc->last->flags ?