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

Diff for /src/usr.bin/mandoc/mandocdb.c between version 1.142 and 1.143

version 1.142, 2015/04/02 22:06:17 version 1.143, 2015/04/02 23:47:43
Line 120 
Line 120 
         STMT__MAX          STMT__MAX
 };  };
   
 typedef int (*mdoc_fp)(struct mpage *, const struct mdoc_meta *,  typedef int (*mdoc_fp)(struct mpage *, const struct roff_meta *,
                         const struct roff_node *);                          const struct roff_node *);
   
 struct  mdoc_handler {  struct  mdoc_handler {
Line 146 
Line 146 
 static  void     mpages_merge(struct mparse *);  static  void     mpages_merge(struct mparse *);
 static  void     names_check(void);  static  void     names_check(void);
 static  void     parse_cat(struct mpage *, int);  static  void     parse_cat(struct mpage *, int);
 static  void     parse_man(struct mpage *, const struct man_meta *,  static  void     parse_man(struct mpage *, const struct roff_meta *,
                         const struct roff_node *);                          const struct roff_node *);
 static  void     parse_mdoc(struct mpage *, const struct mdoc_meta *,  static  void     parse_mdoc(struct mpage *, const struct roff_meta *,
                         const struct roff_node *);                          const struct roff_node *);
 static  int      parse_mdoc_body(struct mpage *, const struct mdoc_meta *,  static  int      parse_mdoc_body(struct mpage *, const struct roff_meta *,
                         const struct roff_node *);                          const struct roff_node *);
 static  int      parse_mdoc_head(struct mpage *, const struct mdoc_meta *,  static  int      parse_mdoc_head(struct mpage *, const struct roff_meta *,
                         const struct roff_node *);                          const struct roff_node *);
 static  int      parse_mdoc_Fd(struct mpage *, const struct mdoc_meta *,  static  int      parse_mdoc_Fd(struct mpage *, const struct roff_meta *,
                         const struct roff_node *);                          const struct roff_node *);
 static  void     parse_mdoc_fname(struct mpage *, const struct roff_node *);  static  void     parse_mdoc_fname(struct mpage *, const struct roff_node *);
 static  int      parse_mdoc_Fn(struct mpage *, const struct mdoc_meta *,  static  int      parse_mdoc_Fn(struct mpage *, const struct roff_meta *,
                         const struct roff_node *);                          const struct roff_node *);
 static  int      parse_mdoc_Fo(struct mpage *, const struct mdoc_meta *,  static  int      parse_mdoc_Fo(struct mpage *, const struct roff_meta *,
                         const struct roff_node *);                          const struct roff_node *);
 static  int      parse_mdoc_Nd(struct mpage *, const struct mdoc_meta *,  static  int      parse_mdoc_Nd(struct mpage *, const struct roff_meta *,
                         const struct roff_node *);                          const struct roff_node *);
 static  int      parse_mdoc_Nm(struct mpage *, const struct mdoc_meta *,  static  int      parse_mdoc_Nm(struct mpage *, const struct roff_meta *,
                         const struct roff_node *);                          const struct roff_node *);
 static  int      parse_mdoc_Sh(struct mpage *, const struct mdoc_meta *,  static  int      parse_mdoc_Sh(struct mpage *, const struct roff_meta *,
                         const struct roff_node *);                          const struct roff_node *);
 static  int      parse_mdoc_Xr(struct mpage *, const struct mdoc_meta *,  static  int      parse_mdoc_Xr(struct mpage *, const struct roff_meta *,
                         const struct roff_node *);                          const struct roff_node *);
 static  void     putkey(const struct mpage *, char *, uint64_t);  static  void     putkey(const struct mpage *, char *, uint64_t);
 static  void     putkeys(const struct mpage *, char *, size_t, uint64_t);  static  void     putkeys(const struct mpage *, char *, size_t, uint64_t);
Line 1425 
Line 1425 
 }  }
   
 static void  static void
 parse_man(struct mpage *mpage, const struct man_meta *meta,  parse_man(struct mpage *mpage, const struct roff_meta *meta,
         const struct roff_node *n)          const struct roff_node *n)
 {  {
         const struct roff_node *head, *body;          const struct roff_node *head, *body;
Line 1551 
Line 1551 
 }  }
   
 static void  static void
 parse_mdoc(struct mpage *mpage, const struct mdoc_meta *meta,  parse_mdoc(struct mpage *mpage, const struct roff_meta *meta,
         const struct roff_node *n)          const struct roff_node *n)
 {  {
   
Line 1584 
Line 1584 
 }  }
   
 static int  static int
 parse_mdoc_Fd(struct mpage *mpage, const struct mdoc_meta *meta,  parse_mdoc_Fd(struct mpage *mpage, const struct roff_meta *meta,
         const struct roff_node *n)          const struct roff_node *n)
 {  {
         char            *start, *end;          char            *start, *end;
Line 1649 
Line 1649 
 }  }
   
 static int  static int
 parse_mdoc_Fn(struct mpage *mpage, const struct mdoc_meta *meta,  parse_mdoc_Fn(struct mpage *mpage, const struct roff_meta *meta,
         const struct roff_node *n)          const struct roff_node *n)
 {  {
   
Line 1666 
Line 1666 
 }  }
   
 static int  static int
 parse_mdoc_Fo(struct mpage *mpage, const struct mdoc_meta *meta,  parse_mdoc_Fo(struct mpage *mpage, const struct roff_meta *meta,
         const struct roff_node *n)          const struct roff_node *n)
 {  {
   
Line 1680 
Line 1680 
 }  }
   
 static int  static int
 parse_mdoc_Xr(struct mpage *mpage, const struct mdoc_meta *meta,  parse_mdoc_Xr(struct mpage *mpage, const struct roff_meta *meta,
         const struct roff_node *n)          const struct roff_node *n)
 {  {
         char    *cp;          char    *cp;
Line 1700 
Line 1700 
 }  }
   
 static int  static int
 parse_mdoc_Nd(struct mpage *mpage, const struct mdoc_meta *meta,  parse_mdoc_Nd(struct mpage *mpage, const struct roff_meta *meta,
         const struct roff_node *n)          const struct roff_node *n)
 {  {
   
Line 1710 
Line 1710 
 }  }
   
 static int  static int
 parse_mdoc_Nm(struct mpage *mpage, const struct mdoc_meta *meta,  parse_mdoc_Nm(struct mpage *mpage, const struct roff_meta *meta,
         const struct roff_node *n)          const struct roff_node *n)
 {  {
   
Line 1732 
Line 1732 
 }  }
   
 static int  static int
 parse_mdoc_Sh(struct mpage *mpage, const struct mdoc_meta *meta,  parse_mdoc_Sh(struct mpage *mpage, const struct roff_meta *meta,
         const struct roff_node *n)          const struct roff_node *n)
 {  {
   
Line 1740 
Line 1740 
 }  }
   
 static int  static int
 parse_mdoc_head(struct mpage *mpage, const struct mdoc_meta *meta,  parse_mdoc_head(struct mpage *mpage, const struct roff_meta *meta,
         const struct roff_node *n)          const struct roff_node *n)
 {  {
   
Line 1748 
Line 1748 
 }  }
   
 static int  static int
 parse_mdoc_body(struct mpage *mpage, const struct mdoc_meta *meta,  parse_mdoc_body(struct mpage *mpage, const struct roff_meta *meta,
         const struct roff_node *n)          const struct roff_node *n)
 {  {
   

Legend:
Removed from v.1.142  
changed lines
  Added in v.1.143