[BACK]Return to mdoc.h CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/mdoc.h between version 1.92 and 1.93

version 1.92, 2010/06/26 15:36:37 version 1.93, 2010/06/27 15:52:41
Line 303  struct mdoc_node {
Line 303  struct mdoc_node {
 #define MDOC_LINE        (1 << 3) /* first macro/text on line */  #define MDOC_LINE        (1 << 3) /* first macro/text on line */
         enum mdoc_type    type; /* AST node type */          enum mdoc_type    type; /* AST node type */
         enum mdoc_sec     sec; /* current named section */          enum mdoc_sec     sec; /* current named section */
           /* FIXME: these can be union'd to shave a few bytes. */
         struct mdoc_arg  *args;         /* BLOCK/ELEM */          struct mdoc_arg  *args;         /* BLOCK/ELEM */
 #ifdef  UGLY  
         struct mdoc_node *pending;      /* BLOCK */          struct mdoc_node *pending;      /* BLOCK */
 #endif  
         struct mdoc_node *head;         /* BLOCK */          struct mdoc_node *head;         /* BLOCK */
         struct mdoc_node *body;         /* BLOCK */          struct mdoc_node *body;         /* BLOCK */
         struct mdoc_node *tail;         /* BLOCK */          struct mdoc_node *tail;         /* BLOCK */
Line 334  struct mdoc;
Line 333  struct mdoc;
 /* See mdoc.3 for documentation. */  /* See mdoc.3 for documentation. */
   
 void              mdoc_free(struct mdoc *);  void              mdoc_free(struct mdoc *);
 struct  mdoc     *mdoc_alloc(void *, int, mandocmsg);  struct  mdoc     *mdoc_alloc(const struct regset *, void *, int, mandocmsg);
 void              mdoc_reset(struct mdoc *);  void              mdoc_reset(struct mdoc *);
 int               mdoc_parseln(struct mdoc *,  int               mdoc_parseln(struct mdoc *, int, char *, int);
                         const struct regset *,  
                         int, char *, int);  
 const struct mdoc_node *mdoc_node(const struct mdoc *);  const struct mdoc_node *mdoc_node(const struct mdoc *);
 const struct mdoc_meta *mdoc_meta(const struct mdoc *);  const struct mdoc_meta *mdoc_meta(const struct mdoc *);
 int               mdoc_endparse(struct mdoc *);  int               mdoc_endparse(struct mdoc *);

Legend:
Removed from v.1.92  
changed lines
  Added in v.1.93

CVSweb