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

Diff for /src/usr.bin/mandoc/Attic/man_action.c between version 1.13 and 1.14

version 1.13, 2010/03/25 23:23:01 version 1.14, 2010/03/26 01:22:05
Line 14 
Line 14 
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF   * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.   * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */   */
 #include <sys/utsname.h>  
   
 #include <assert.h>  #include <assert.h>
 #include <stdlib.h>  #include <stdlib.h>
Line 28 
Line 27 
 };  };
   
 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 67 
Line 67 
         { 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 106 
Line 112 
   
   
 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 177 
Line 198 
         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.13  
changed lines
  Added in v.1.14