diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-01-01 12:18:37 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-01-01 12:18:37 +0000 |
commit | e544ee7c50ee6f579859cf0983518ab73f11cac1 (patch) | |
tree | 27b769c61f531ca49b70efb6715220e2249a8c35 /mdoc.3 | |
parent | 1d3c95dfc94730fe58488b00744522e212559f61 (diff) | |
download | mandoc-e544ee7c50ee6f579859cf0983518ab73f11cac1.tar.gz |
Add table processing structures to -mdoc. This consists of an
external-facing function mdoc_addspan(), then various bits to prohibit
printing and scanning (this requires some if's to be converted into
switch's).
Diffstat (limited to 'mdoc.3')
-rw-r--r-- | mdoc.3 | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -33,6 +33,11 @@ .In mdoc.h .Vt extern const char * const * mdoc_macronames; .Vt extern const char * const * mdoc_argnames; +.Ft int +.Fo mdoc_addspan +.Fa "struct mdoc *mdoc" +.Fa "const struct tbl_span *span" +.Fc .Ft "struct mdoc *" .Fo mdoc_alloc .Fa "struct regset *regs" @@ -92,6 +97,9 @@ for details. .El .Ss Functions .Bl -ohang +.It Fn mdoc_addspan +Add a table span to the parsing stream. +Returns 0 on failure, 1 on success. .It Fn mdoc_alloc Allocates a parsing structure. The |