=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/mdoc.h,v retrieving revision 1.41 retrieving revision 1.42 diff -c -r1.41 -r1.42 *** src/usr.bin/mandoc/mdoc.h 2010/12/29 00:47:30 1.41 --- src/usr.bin/mandoc/mdoc.h 2011/01/04 22:28:17 1.42 *************** *** 1,6 **** ! /* $Id: mdoc.h,v 1.41 2010/12/29 00:47:30 schwarze Exp $ */ /* ! * Copyright (c) 2008, 2009, 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: mdoc.h,v 1.42 2011/01/04 22:28:17 schwarze Exp $ */ /* ! * Copyright (c) 2008, 2009, 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 *************** *** 143,150 **** MDOC_sp, MDOC__U, MDOC_Ta, - MDOC_TS, - MDOC_TE, MDOC_MAX }; --- 143,148 ---- *************** *** 192,197 **** --- 190,196 ---- MDOC_TAIL, MDOC_BODY, MDOC_BLOCK, + MDOC_TBL, MDOC_ROOT }; *************** *** 370,376 **** struct mdoc_bf Bf; struct mdoc_bl Bl; struct mdoc_rs Rs; - struct tbl *TS; }; /* --- 369,374 ---- *************** *** 402,407 **** --- 400,406 ---- struct mdoc_node *body; /* BLOCK */ struct mdoc_node *tail; /* BLOCK */ char *string; /* TEXT */ + const struct tbl_span *span; /* TBL */ enum mdoc_endbody end; /* BODY */ }; *************** *** 429,434 **** --- 428,435 ---- const struct mdoc_node *mdoc_node(const struct mdoc *); const struct mdoc_meta *mdoc_meta(const struct mdoc *); int mdoc_endparse(struct mdoc *); + int mdoc_addspan(struct mdoc *, + const struct tbl_span *); __END_DECLS