=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/Attic/roff.3,v retrieving revision 1.5 retrieving revision 1.6 diff -c -r1.5 -r1.6 *** src/usr.bin/mandoc/Attic/roff.3 2010/08/20 00:53:35 1.5 --- src/usr.bin/mandoc/Attic/roff.3 2011/01/04 22:28:17 1.6 *************** *** 1,6 **** ! .\" $Id: roff.3,v 1.5 2010/08/20 00:53:35 schwarze Exp $ .\" ! .\" Copyright (c) 2010 Kristaps Dzonsons .\" .\" Permission to use, copy, modify, and distribute this software for any .\" purpose with or without fee is hereby granted, provided that the above --- 1,6 ---- ! .\" $Id: roff.3,v 1.6 2011/01/04 22:28:17 schwarze Exp $ .\" ! .\" Copyright (c) 2010, 2011 Kristaps Dzonsons .\" .\" Permission to use, copy, modify, and distribute this software for any .\" purpose with or without fee is hereby granted, provided that the above *************** *** 14,20 **** .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" ! .Dd $Mdocdate: August 20 2010 $ .Dt ROFF 3 .Os .Sh NAME --- 14,20 ---- .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" ! .Dd $Mdocdate: January 4 2011 $ .Dt ROFF 3 .Os .Sh NAME *************** *** 23,29 **** .Nm roff_endparse , .Nm roff_free , .Nm roff_parseln , ! .Nm roff_reset .Nd roff macro compiler library .Sh SYNOPSIS .In mandoc.h --- 23,30 ---- .Nm roff_endparse , .Nm roff_free , .Nm roff_parseln , ! .Nm roff_reset , ! .Nm roff_span .Nd roff macro compiler library .Sh SYNOPSIS .In mandoc.h *************** *** 34,40 **** .Fa "void *data" .Fa "mandocmsg msgs" .Fc ! .Ft int .Fn roff_endparse "struct roff *roff" .Ft void .Fn roff_free "struct roff *roff" --- 35,41 ---- .Fa "void *data" .Fa "mandocmsg msgs" .Fc ! .Ft void .Fn roff_endparse "struct roff *roff" .Ft void .Fn roff_free "struct roff *roff" *************** *** 49,54 **** --- 50,57 ---- .Fc .Ft void .Fn roff_reset "struct roff *roff" + .Ft "const struct tbl_span *" + .Fn roff_span "const struct roff *roff" .Sh DESCRIPTION The .Nm *************** *** 138,144 **** Returns 0 on failure, 1 on success. .It Fn roff_endparse Signals that the parse is complete. ! Returns 0 on failure, 1 on success. .El .Sh EXAMPLES See --- 141,153 ---- Returns 0 on failure, 1 on success. .It Fn roff_endparse Signals that the parse is complete. ! .It Fn roff_span ! If ! .Fn roff_parseln ! returned ! .Va ROFF_TBL , ! return the last parsed table row. ! Returns NULL otherwise. .El .Sh EXAMPLES See