[BACK]Return to mdoc.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/mdoc.h between version 1.28 and 1.29

version 1.28, 2010/06/26 17:56:43 version 1.29, 2010/06/27 21:54:42
Line 155 
Line 155 
   
 /* What follows is a list of ALL possible macro arguments. */  /* What follows is a list of ALL possible macro arguments. */
   
   /* FIXME: make this into an enum. */
 #define MDOC_Split       0  #define MDOC_Split       0
 #define MDOC_Nosplit     1  #define MDOC_Nosplit     1
 #define MDOC_Ragged      2  #define MDOC_Ragged      2
Line 300 
Line 301 
 #define MDOC_ACTED       (1 << 1) /* has been acted upon */  #define MDOC_ACTED       (1 << 1) /* has been acted upon */
 #define MDOC_EOS         (1 << 2) /* at sentence boundary */  #define MDOC_EOS         (1 << 2) /* at sentence boundary */
 #define MDOC_LINE        (1 << 3) /* first macro/text on line */  #define MDOC_LINE        (1 << 3) /* first macro/text on line */
   #define MDOC_SYNPRETTY   (1 << 4) /* SYNOPSIS-style formatting */
         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 */
         struct mdoc_node *pending;      /* BLOCK */          struct mdoc_node *pending;      /* BLOCK */
         struct mdoc_node *head;         /* BLOCK */          struct mdoc_node *head;         /* BLOCK */
Line 331 
Line 334 
 /* 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(struct regset *, void *, int, mandocmsg);
 void              mdoc_reset(struct mdoc *);  void              mdoc_reset(struct mdoc *);
 int               mdoc_parseln(struct mdoc *, int, char *, int);  int               mdoc_parseln(struct mdoc *, int, char *, int);
 const struct mdoc_node *mdoc_node(const struct mdoc *);  const struct mdoc_node *mdoc_node(const struct mdoc *);

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29