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

Diff for /mandoc/mandocdb.c between version 1.172 and 1.173

version 1.172, 2014/12/04 17:36:00 version 1.173, 2014/12/04 18:31:20
Line 165  static int  parse_mdoc_Fd(struct mpage *, const struct
Line 165  static int  parse_mdoc_Fd(struct mpage *, const struct
                         const struct mdoc_node *);                          const struct mdoc_node *);
 static  int      parse_mdoc_Fn(struct mpage *, const struct mdoc_meta *,  static  int      parse_mdoc_Fn(struct mpage *, const struct mdoc_meta *,
                         const struct mdoc_node *);                          const struct mdoc_node *);
   static  int      parse_mdoc_Fo(struct mpage *, const struct mdoc_meta *,
                           const struct mdoc_node *);
 static  int      parse_mdoc_Nd(struct mpage *, const struct mdoc_meta *,  static  int      parse_mdoc_Nd(struct mpage *, const struct mdoc_meta *,
                         const struct mdoc_node *);                          const struct mdoc_node *);
 static  int      parse_mdoc_Nm(struct mpage *, const struct mdoc_meta *,  static  int      parse_mdoc_Nm(struct mpage *, const struct mdoc_meta *,
Line 300  static const struct mdoc_handler mdocs[MDOC_MAX] = {
Line 302  static const struct mdoc_handler mdocs[MDOC_MAX] = {
         { NULL, 0 },  /* Ux */          { NULL, 0 },  /* Ux */
         { NULL, 0 },  /* Xc */          { NULL, 0 },  /* Xc */
         { NULL, 0 },  /* Xo */          { NULL, 0 },  /* Xo */
         { parse_mdoc_head, 0 },  /* Fo */          { parse_mdoc_Fo, 0 },  /* Fo */
         { NULL, 0 },  /* Fc */          { NULL, 0 },  /* Fc */
         { NULL, 0 },  /* Oo */          { NULL, 0 },  /* Oo */
         { NULL, 0 },  /* Oc */          { NULL, 0 },  /* Oc */
Line 1651  parse_mdoc_Fn(struct mpage *mpage, const struct mdoc_m
Line 1653  parse_mdoc_Fn(struct mpage *mpage, const struct mdoc_m
                 cp++;                  cp++;
   
         putkey(mpage, cp, TYPE_Fn);          putkey(mpage, cp, TYPE_Fn);
           if (n->sec == SEC_SYNOPSIS)
                   putkey(mpage, cp, NAME_SYN);
   
         if (n->string < cp)          if (n->string < cp)
                 putkeys(mpage, n->string, cp - n->string, TYPE_Ft);                  putkeys(mpage, n->string, cp - n->string, TYPE_Ft);
Line 1659  parse_mdoc_Fn(struct mpage *mpage, const struct mdoc_m
Line 1663  parse_mdoc_Fn(struct mpage *mpage, const struct mdoc_m
                 if (MDOC_TEXT == n->type)                  if (MDOC_TEXT == n->type)
                         putkey(mpage, n->string, TYPE_Fa);                          putkey(mpage, n->string, TYPE_Fa);
   
           return(0);
   }
   
   static int
   parse_mdoc_Fo(struct mpage *mpage, const struct mdoc_meta *meta,
           const struct mdoc_node *n)
   {
   
           putmdockey(mpage, n->child, TYPE_Fn);
           if (n->sec == SEC_SYNOPSIS)
                   putmdockey(mpage, n->child, NAME_SYN);
         return(0);          return(0);
 }  }
   

Legend:
Removed from v.1.172  
changed lines
  Added in v.1.173

CVSweb