[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.199 and 1.200

version 1.199, 2014/01/06 00:53:33 version 1.200, 2014/01/06 22:39:25
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2010, 2011, 2012, 2013 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org>
  * Copyright (c) 2010 Joerg Sonnenberger <joerg@netbsd.org>   * Copyright (c) 2010 Joerg Sonnenberger <joerg@netbsd.org>
  *   *
  * Permission to use, copy, modify, and distribute this software for any   * Permission to use, copy, modify, and distribute this software for any
Line 2184  post_dd(POST_ARGS)
Line 2184  post_dd(POST_ARGS)
   
         n = mdoc->last;          n = mdoc->last;
         if (NULL == n->child || '\0' == n->child->string[0]) {          if (NULL == n->child || '\0' == n->child->string[0]) {
                 mdoc->meta.date = mandoc_normdate                  mdoc->meta.date = mdoc->quick ? mandoc_strdup("") :
                         (mdoc->parse, NULL, n->line, n->pos);                      mandoc_normdate(mdoc->parse, NULL, n->line, n->pos);
                 return(1);                  return(1);
         }          }
   
Line 2196  post_dd(POST_ARGS)
Line 2196  post_dd(POST_ARGS)
         }          }
   
         assert(c);          assert(c);
         mdoc->meta.date = mandoc_normdate          mdoc->meta.date = mdoc->quick ? mandoc_strdup(buf) :
                 (mdoc->parse, buf, n->line, n->pos);              mandoc_normdate(mdoc->parse, buf, n->line, n->pos);
   
         return(1);          return(1);
 }  }

Legend:
Removed from v.1.199  
changed lines
  Added in v.1.200

CVSweb