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

Diff for /mandoc/mdoc.h between version 1.60 and 1.63

version 1.60, 2009/06/17 10:53:32 version 1.63, 2009/07/12 20:24:24
Line 179 
Line 179 
 #define MDOC_Nested      25  #define MDOC_Nested      25
 #define MDOC_ARG_MAX     26  #define MDOC_ARG_MAX     26
   
 /* Warnings are either syntax or groff-compatibility. */  
 enum    mdoc_warn {  
         WARN_SYNTAX,  
         WARN_COMPAT  
 };  
   
 /* Type of a syntax node. */  /* Type of a syntax node. */
 enum    mdoc_type {  enum    mdoc_type {
         MDOC_TEXT,          MDOC_TEXT,
Line 252  struct mdoc_node {
Line 246  struct mdoc_node {
         struct mdoc_node *child;          struct mdoc_node *child;
         struct mdoc_node *next;          struct mdoc_node *next;
         struct mdoc_node *prev;          struct mdoc_node *prev;
           int               nchild;
         int               line;          int               line;
         int               pos;          int               pos;
         int               tok;          int               tok;
Line 278  struct mdoc_node {
Line 273  struct mdoc_node {
 /* FIXME: unify somehow with man_cb. */  /* FIXME: unify somehow with man_cb. */
 struct  mdoc_cb {  struct  mdoc_cb {
         int     (*mdoc_err)(void *, int, int, const char *);          int     (*mdoc_err)(void *, int, int, const char *);
         int     (*mdoc_warn)(void *, int, int,          int     (*mdoc_warn)(void *, int, int, const char *);
                         enum mdoc_warn, const char *);  
 };  };
   
 /* See mdoc.3 for documentation. */  /* See mdoc.3 for documentation. */
Line 301  const struct mdoc_node *mdoc_node(const struct mdoc *)
Line 295  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 *);
   
 const char       *mdoc_a2att(const char *);  
 const char       *mdoc_a2lib(const char *);  const char       *mdoc_a2lib(const char *);
 const char       *mdoc_a2st(const char *);  const char       *mdoc_a2st(const char *);
   

Legend:
Removed from v.1.60  
changed lines
  Added in v.1.63

CVSweb