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

Diff for /mandoc/mdoc_validate.c between version 1.345 and 1.346

version 1.345, 2017/06/29 15:22:17 version 1.346, 2017/07/01 09:47:30
Line 33 
Line 33 
   
 #include "mandoc_aux.h"  #include "mandoc_aux.h"
 #include "mandoc.h"  #include "mandoc.h"
   #include "mandoc_xr.h"
 #include "roff.h"  #include "roff.h"
 #include "mdoc.h"  #include "mdoc.h"
 #include "libmandoc.h"  #include "libmandoc.h"
Line 2336  post_xr(POST_ARGS)
Line 2337  post_xr(POST_ARGS)
         if (nch->next == NULL) {          if (nch->next == NULL) {
                 mandoc_vmsg(MANDOCERR_XR_NOSEC, mdoc->parse,                  mandoc_vmsg(MANDOCERR_XR_NOSEC, mdoc->parse,
                     n->line, n->pos, "Xr %s", nch->string);                      n->line, n->pos, "Xr %s", nch->string);
         } else          } else {
                 assert(nch->next == n->last);                  assert(nch->next == n->last);
                   mandoc_xr_add(nch->next->string, nch->string,
                       nch->line, nch->pos);
           }
         post_delim(mdoc);          post_delim(mdoc);
 }  }
   

Legend:
Removed from v.1.345  
changed lines
  Added in v.1.346

CVSweb