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

Diff for /src/usr.bin/mandoc/Attic/mdoc_action.c between version 1.18 and 1.19

version 1.18, 2009/08/22 15:29:23 version 1.19, 2009/08/22 15:36:58
Line 483 
Line 483 
                 free(m->meta.vol);                  free(m->meta.vol);
                 if (NULL == (m->meta.vol = strdup(cp)))                  if (NULL == (m->meta.vol = strdup(cp)))
                         return(mdoc_nerr(m, m->last, EMALLOC));                          return(mdoc_nerr(m, m->last, EMALLOC));
                 n = n->next;  
         } else {          } else {
                 cp = mdoc_a2arch(n->string);                  cp = mdoc_a2arch(n->string);
                 if (NULL == cp) {                  if (NULL == cp) {
Line 831 
Line 830 
   
         if (MDOC_BODY == n->type)          if (MDOC_BODY == n->type)
                 m->flags |= MDOC_LITERAL;                  m->flags |= MDOC_LITERAL;
   
         return(1);          return(1);
 }  }
   
Line 843 
Line 843 
         if (MDOC_BODY != n->type)          if (MDOC_BODY != n->type)
                 return(1);                  return(1);
   
         /* Enter literal context if `Bd -literal' or * -unfilled'. */          /* Enter literal context if `Bd -literal' or `-unfilled'. */
   
           /*
            * TODO: `-offset' without an argument should be the width of
            * the literal "<string>".
            */
   
         for (n = n->parent, i = 0; i < (int)n->args->argc; i++)          for (n = n->parent, i = 0; i < (int)n->args->argc; i++)
                 if (MDOC_Literal == n->args->argv[i].arg)                  if (MDOC_Literal == n->args->argv[i].arg)

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19