summaryrefslogtreecommitdiffstatshomepage
path: root/mdocml.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-01-19 17:51:32 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-01-19 17:51:32 +0000
commit14b264ac5a6226fdf3065c90d26a2595186fa976 (patch)
tree5e94556f1f4f5dbdd726597b5e6c08f1167012b6 /mdocml.c
parent4d0e00fc396f69ea4575cca04855817cbf289670 (diff)
downloadmandoc-14b264ac5a6226fdf3065c90d26a2595186fa976.tar.gz
mandoc-14b264ac5a6226fdf3065c90d26a2595186fa976.tar.zst
mandoc-14b264ac5a6226fdf3065c90d26a2595186fa976.zip
More correct validation.
Elision of prologue macros from main tree.
Diffstat (limited to 'mdocml.c')
-rw-r--r--mdocml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdocml.c b/mdocml.c
index 6168a898..d186abec 100644
--- a/mdocml.c
+++ b/mdocml.c
@@ -1,4 +1,4 @@
-/* $Id: mdocml.c,v 1.48 2009/01/17 14:04:25 kristaps Exp $ */
+ /* $Id: mdocml.c,v 1.49 2009/01/19 17:51:33 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -232,7 +232,7 @@ parse_leave(struct md_parse *p, int code)
if ( ! mdoc_endparse(p->mdoc))
code = 0;
- if (p->print && (n = mdoc_result(p->mdoc)))
+ if (p->print && (n = mdoc_node(p->mdoc)))
(*p->print)(n);
mdoc_free(p->mdoc);