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

Diff for /src/usr.bin/mandoc/man_validate.c between version 1.114 and 1.115

version 1.114, 2018/12/31 07:07:43 version 1.115, 2018/12/31 08:38:17
Line 46 
Line 46 
 static  void      check_text(CHKARGS);  static  void      check_text(CHKARGS);
   
 static  void      post_AT(CHKARGS);  static  void      post_AT(CHKARGS);
   static  void      post_EE(CHKARGS);
   static  void      post_EX(CHKARGS);
 static  void      post_IP(CHKARGS);  static  void      post_IP(CHKARGS);
 static  void      post_OP(CHKARGS);  static  void      post_OP(CHKARGS);
 static  void      post_SH(CHKARGS);  static  void      post_SH(CHKARGS);
Line 86 
Line 88 
         NULL,       /* SY */          NULL,       /* SY */
         NULL,       /* YS */          NULL,       /* YS */
         post_OP,    /* OP */          post_OP,    /* OP */
         NULL,       /* EX */          post_EX,    /* EX */
         NULL,       /* EE */          post_EE,    /* EE */
         post_UR,    /* UR */          post_UR,    /* UR */
         NULL,       /* UE */          NULL,       /* UE */
         post_UR,    /* MT */          post_UR,    /* MT */
Line 204 
Line 206 
 {  {
         char            *cp, *p;          char            *cp, *p;
   
         if (man->flags & ROFF_NOFILL)          if (n->flags & NODE_NOFILL)
                 return;                  return;
   
         cp = n->string;          cp = n->string;
         for (p = cp; NULL != (p = strchr(p, '\t')); p++)          for (p = cp; NULL != (p = strchr(p, '\t')); p++)
                 mandoc_msg(MANDOCERR_FI_TAB,                  mandoc_msg(MANDOCERR_FI_TAB,
                     n->line, n->pos + (int)(p - cp), NULL);                      n->line, n->pos + (int)(p - cp), NULL);
   }
   
   static void
   post_EE(CHKARGS)
   {
           if ((n->flags & NODE_NOFILL) == 0)
                   mandoc_msg(MANDOCERR_FI_SKIP, n->line, n->pos, "EE");
   }
   
   static void
   post_EX(CHKARGS)
   {
           if (n->flags & NODE_NOFILL)
                   mandoc_msg(MANDOCERR_NF_SKIP, n->line, n->pos, "EX");
 }  }
   
 static void  static void

Legend:
Removed from v.1.114  
changed lines
  Added in v.1.115