diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-01-01 12:59:17 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-01-01 12:59:17 +0000 |
commit | 131de1ee113c08ea304f934c38488baa917375f6 (patch) | |
tree | 5f9c4e393a821b0b372d6dcc62bd76de3c8850da /man.3 | |
parent | 98371213a082f1d2d7f5faac716b9818680d3140 (diff) | |
download | mandoc-131de1ee113c08ea304f934c38488baa917375f6.tar.gz |
Add -man support for tables. Like -mdoc, this consists of an
external-facing function man_addspan() (this required shuffling around
the descope routine) and hooks elsewhere.
Also fixed mdoc.c's post-validation of tables.
Diffstat (limited to 'man.3')
-rw-r--r-- | man.3 | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -31,6 +31,11 @@ .In mandoc.h .In man.h .Vt extern const char * const * man_macronames; +.Ft int +.Fo man_addspan +.Fa "struct man *man" +.Fa "const struct tbl_span *span" +.Fc .Ft "struct man *" .Fo man_alloc .Fa "struct regset *regs" @@ -101,6 +106,9 @@ for details. .El .Ss Functions .Bl -ohang +.It Fn man_addspan +Add a table span to the parsing stream. +Returns 0 on failure, 1 on success. .It Fn man_alloc Allocates a parsing structure. The |