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

Diff for /mandoc/Attic/action.c between version 1.34 and 1.38

version 1.34, 2009/03/08 12:40:27 version 1.38, 2009/03/09 13:17:49
Line 23 
Line 23 
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
 #include <time.h>  
   
 #include "private.h"  #include "private.h"
   
Line 171  const struct actions mdoc_actions[MDOC_MAX] = {
Line 170  const struct actions mdoc_actions[MDOC_MAX] = {
         { NULL }, /* Fr */          { NULL }, /* Fr */
         { NULL }, /* Ud */          { NULL }, /* Ud */
         { NULL }, /* Lb */          { NULL }, /* Lb */
           { NULL }, /* Ap */
           { NULL }, /* Lp */
 };  };
   
   
Line 241  post_ex(struct mdoc *mdoc)
Line 242  post_ex(struct mdoc *mdoc)
                         mdoc_argnames[MDOC_Std],                          mdoc_argnames[MDOC_Std],
                         mdoc->meta.name);                          mdoc->meta.name);
   
         assert(1 == mdoc->last->args->argv[0].sz);  
   
         mdoc->last->args->argv[0].sz = 1;  
         mdoc->last->args->argv[0].value = xcalloc(1, sizeof(char *));          mdoc->last->args->argv[0].value = xcalloc(1, sizeof(char *));
           mdoc->last->args->argv[0].sz = 1;
         mdoc->last->args->argv[0].value[0] = xstrdup(mdoc->meta.name);          mdoc->last->args->argv[0].value[0] = xstrdup(mdoc->meta.name);
         return(1);          return(1);
 }  }

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.38

CVSweb