aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc.3
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-26 15:36:37 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-26 15:36:37 +0000
commit2bcccf0dba8f2c504e9c3597a11177aaca90023c (patch)
tree5679bb625ff313e97d238c6ed07c5a61bb61464c /mdoc.3
parent712ec41a30db9c8794ec92168b9d2b39f1dee6da (diff)
downloadmandoc-2bcccf0dba8f2c504e9c3597a11177aaca90023c.tar.gz
mandoc-2bcccf0dba8f2c504e9c3597a11177aaca90023c.tar.zst
mandoc-2bcccf0dba8f2c504e9c3597a11177aaca90023c.zip
Churn-ish check-in getting mdoc_parseln() and man_parseln() to accept a
const struct regset pointer. No functionality.
Diffstat (limited to 'mdoc.3')
-rw-r--r--mdoc.312
1 files changed, 9 insertions, 3 deletions
diff --git a/mdoc.3 b/mdoc.3
index da963ca5..49acb46e 100644
--- a/mdoc.3
+++ b/mdoc.3
@@ -1,4 +1,4 @@
-.\" $Id: mdoc.3,v 1.41 2010/05/30 22:56:02 kristaps Exp $
+.\" $Id: mdoc.3,v 1.42 2010/06/26 15:36:37 kristaps Exp $
.\"
.\" Copyright (c) 2009-2010 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: May 30 2010 $
+.Dd $Mdocdate: June 26 2010 $
.Dt MDOC 3
.Os
.Sh NAME
@@ -29,6 +29,7 @@
.Nd mdoc macro compiler library
.Sh SYNOPSIS
.In mandoc.h
+.In regs.h
.In mdoc.h
.Vt extern const char * const * mdoc_macronames;
.Vt extern const char * const * mdoc_argnames;
@@ -43,7 +44,12 @@
.Ft "const struct mdoc_node *"
.Fn mdoc_node "const struct mdoc *mdoc"
.Ft int
-.Fn mdoc_parseln "struct mdoc *mdoc" "int line" "char *buf"
+.Fo mdoc_parseln
+.Fa "struct mdoc *mdoc"
+.Fa "const struct regset *regs"
+.Fa "int line"
+.Fa "char *buf"
+.Fc
.Ft int
.Fn mdoc_reset "struct mdoc *mdoc"
.Sh DESCRIPTION