summaryrefslogtreecommitdiffstatshomepage
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
commit364660607f78ece4469bf93ed5a754c04ec61847 (patch)
tree98a745094e489116617f1e7baa6ab167c9c4ed3e /mdoc_macro.c
parent1b03ebdce412e8ef752ed49e9aba8d666cdc9bf2 (diff)
downloadmandoc-364660607f78ece4469bf93ed5a754c04ec61847.tar.gz
mandoc-364660607f78ece4469bf93ed5a754c04ec61847.tar.zst
mandoc-364660607f78ece4469bf93ed5a754c04ec61847.zip
-man linked to mandoc in documentation.
Diffstat (limited to 'mdoc_macro.c')
-rw-r--r--mdoc_macro.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/mdoc_macro.c b/mdoc_macro.c
index 15fe4609..c73d4312 100644
--- a/mdoc_macro.c
+++ b/mdoc_macro.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_macro.c,v 1.1 2009/03/23 14:22:11 kristaps Exp $ */
+/* $Id: mdoc_macro.c,v 1.2 2009/03/23 15:41:09 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@openbsd.org>
*
@@ -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 ?