[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.301 and 1.303

version 1.301, 2016/01/08 17:48:09 version 1.303, 2016/08/10 12:06:41
Line 502  post_bl_norm(POST_ARGS)
Line 502  post_bl_norm(POST_ARGS)
                 mandoc_msg(MANDOCERR_BL_NOTYPE, mdoc->parse,                  mandoc_msg(MANDOCERR_BL_NOTYPE, mdoc->parse,
                     n->line, n->pos, "Bl");                      n->line, n->pos, "Bl");
                 n->norm->Bl.type = LIST_item;                  n->norm->Bl.type = LIST_item;
                   mdoclt = MDOC_Item;
         }          }
   
         /*          /*
Line 1773  post_sh_head(POST_ARGS)
Line 1774  post_sh_head(POST_ARGS)
   
         /* The NAME should be first. */          /* The NAME should be first. */
   
         if (SEC_NAME != sec && SEC_NONE == mdoc->lastnamed)          if (sec != SEC_NAME && mdoc->lastnamed == SEC_NONE)
                 mandoc_vmsg(MANDOCERR_NAMESEC_FIRST, mdoc->parse,                  mandoc_vmsg(MANDOCERR_NAMESEC_FIRST, mdoc->parse,
                     mdoc->last->line, mdoc->last->pos,                      mdoc->last->line, mdoc->last->pos, "Sh %s",
                     "Sh %s", secnames[sec]);                      sec == SEC_CUSTOM ? mdoc->last->child->string :
                       secnames[sec]);
   
         /* The SYNOPSIS gets special attention in other areas. */          /* The SYNOPSIS gets special attention in other areas. */
   

Legend:
Removed from v.1.301  
changed lines
  Added in v.1.303

CVSweb