version 1.2, 2010/06/26 15:22:19 |
version 1.7, 2010/07/13 23:53:20 |
|
|
.Nd roff macro compiler library |
.Nd roff macro compiler library |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.In mandoc.h |
.In mandoc.h |
.In regs.h |
|
.In roff.h |
.In roff.h |
.Ft "struct roff *" |
.Ft "struct roff *" |
.Fn roff_alloc "mandocmsg msgs" "void *data" |
.Fo roff_alloc |
|
.Fa "struct regset *regs" |
|
.Fa "mandocmsg msgs" |
|
.Fa "void *data" |
|
.Fc |
.Ft int |
.Ft int |
.Fn roff_endparse "struct roff *roff" |
.Fn roff_endparse "struct roff *roff" |
.Ft void |
.Ft void |
|
|
.Nm |
.Nm |
library was written by |
library was written by |
.An Kristaps Dzonsons Aq kristaps@bsd.lv . |
.An Kristaps Dzonsons Aq kristaps@bsd.lv . |
|
.Sh BUGS |
|
The implementation of user-defined strings needs improvement: |
|
.Bl -dash |
|
.It |
|
String values are taken literally and are not interpreted. |
|
.It |
|
Parsing of quoted strings is incomplete. |
|
.It |
|
The stings are stored internally using a singly linked list, |
|
which is fine for small numbers of strings, |
|
but ineffient when handling many strings. |
|
.El |