-.\" $Id: mdoc.3,v 1.53 2011/01/03 11:27:32 kristaps Exp $
+.\" $Id: mdoc.3,v 1.54 2011/01/03 13:55:26 kristaps Exp $
.\"
.\" Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
is modified by this function.
.It Fn mdoc_endparse
Signals that the parse is complete.
-Note that if
-.Fn mdoc_endparse
-is called subsequent to
-.Fn mdoc_node ,
-the resulting tree is incomplete.
Returns 0 on failure, 1 on success.
.It Fn mdoc_node
Returns the first node of the parse.