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

Diff for /src/usr.bin/mandoc/mdoc_validate.c between version 1.233 and 1.234

version 1.233, 2017/01/11 17:39:45 version 1.234, 2017/02/06 03:41:44
Line 1001 
Line 1001 
             (mdoc->lastsec == SEC_NAME && n->child == NULL))              (mdoc->lastsec == SEC_NAME && n->child == NULL))
                 mandoc_msg(MANDOCERR_NM_NONAME, mdoc->parse,                  mandoc_msg(MANDOCERR_NM_NONAME, mdoc->parse,
                     n->line, n->pos, "Nm");                      n->line, n->pos, "Nm");
   
           if ((n->type != ROFFT_ELEM && n->type != ROFFT_HEAD) ||
               (n->child != NULL && n->child->type == ROFFT_TEXT) ||
               mdoc->meta.name == NULL)
                   return;
   
           mdoc->next = ROFF_NEXT_CHILD;
           roff_word_alloc(mdoc, n->line, n->pos, mdoc->meta.name);
           mdoc->last->flags |= NODE_NOSRC;
           mdoc->last = n;
 }  }
   
 static void  static void

Legend:
Removed from v.1.233  
changed lines
  Added in v.1.234