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

Diff for /mandoc/Attic/prologue.c between version 1.1 and 1.4

version 1.1, 2009/01/01 20:40:16 version 1.4, 2009/01/05 17:57:08
Line 18 
Line 18 
  */   */
 #include <assert.h>  #include <assert.h>
 #include <stdlib.h>  #include <stdlib.h>
   #ifdef __linux__
   #include <time.h>
   #endif
   
 #include "private.h"  #include "private.h"
   
   /* FIXME: deprecate into actions.c! */
   
 static int               prologue_dt(MACRO_PROT_ARGS);  static int               prologue_dt(MACRO_PROT_ARGS);
 static int               prologue_dd(MACRO_PROT_ARGS);  static int               prologue_dd(MACRO_PROT_ARGS);
 static int               prologue_os(MACRO_PROT_ARGS);  static int               prologue_os(MACRO_PROT_ARGS);
Line 61  again:
Line 66  again:
         default:          default:
                 break;                  break;
         }          }
   
         if (MDOC_MAX != mdoc_find(mdoc, args[j]) && ! mdoc_warn  
                         (mdoc, tok, lastarg, WARN_SYNTAX_MACLIKE))  
                 return(0);  
   
         if (0 == j) {          if (0 == j) {
                 if (xstrlcpy(mdoc->meta.title, args[0], META_TITLE_SZ))                  if (xstrlcpy(mdoc->meta.title, args[0], META_TITLE_SZ))

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

CVSweb