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

Diff for /mandoc/Attic/man_action.c between version 1.28 and 1.29

version 1.28, 2010/03/24 03:46:02 version 1.29, 2010/03/24 20:10:53
Line 30  struct actions {
Line 30  struct actions {
 };  };
   
 static  int       post_TH(struct man *);  static  int       post_TH(struct man *);
   static  int       post_de(struct man *);
 static  int       post_fi(struct man *);  static  int       post_fi(struct man *);
 static  int       post_nf(struct man *);  static  int       post_nf(struct man *);
   
Line 69  const struct actions man_actions[MAN_MAX] = {
Line 70  const struct actions man_actions[MAN_MAX] = {
         { NULL }, /* Sp */          { NULL }, /* Sp */
         { post_nf }, /* Vb */          { post_nf }, /* Vb */
         { post_fi }, /* Ve */          { post_fi }, /* Ve */
           { post_de }, /* de */
           { post_de }, /* dei */
           { post_de }, /* am */
           { post_de }, /* ami */
           { post_de }, /* ig */
           { NULL }, /* . */
 };  };
   
   
Line 108  post_fi(struct man *m)
Line 115  post_fi(struct man *m)
   
   
 static int  static int
   post_de(struct man *m)
   {
   
           /*
            * XXX: for the time being, we indiscriminately remove roff
            * instructions from the parse stream.
            */
           if (MAN_BLOCK == m->last->type)
                   man_node_delete(m, m->last);
   
           return(1);
   }
   
   
   static int
 post_nf(struct man *m)  post_nf(struct man *m)
 {  {
   
Line 179  post_TH(struct man *m)
Line 201  post_TH(struct man *m)
         if (n && (n = n->next))          if (n && (n = n->next))
                 m->meta.vol = mandoc_strdup(n->string);                  m->meta.vol = mandoc_strdup(n->string);
   
         n = m->last;          /*
         man_node_unlink(m, n);           * Remove the `TH' node after we've processed it for our
         man_node_freelist(n);           * meta-data.
            */
           man_node_delete(m, m->last);
         return(1);          return(1);
 }  }

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

CVSweb