=================================================================== RCS file: /cvs/mandoc/Attic/prologue.c,v retrieving revision 1.1 retrieving revision 1.4 diff -u -p -r1.1 -r1.4 --- mandoc/Attic/prologue.c 2009/01/01 20:40:16 1.1 +++ mandoc/Attic/prologue.c 2009/01/05 17:57:08 1.4 @@ -1,4 +1,4 @@ -/* $Id: prologue.c,v 1.1 2009/01/01 20:40:16 kristaps Exp $ */ +/* $Id: prologue.c,v 1.4 2009/01/05 17:57:08 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -18,9 +18,14 @@ */ #include #include +#ifdef __linux__ +#include +#endif #include "private.h" +/* FIXME: deprecate into actions.c! */ + static int prologue_dt(MACRO_PROT_ARGS); static int prologue_dd(MACRO_PROT_ARGS); static int prologue_os(MACRO_PROT_ARGS); @@ -62,10 +67,6 @@ again: break; } - if (MDOC_MAX != mdoc_find(mdoc, args[j]) && ! mdoc_warn - (mdoc, tok, lastarg, WARN_SYNTAX_MACLIKE)) - return(0); - if (0 == j) { if (xstrlcpy(mdoc->meta.title, args[0], META_TITLE_SZ)) goto again; @@ -177,7 +178,7 @@ again: return(0); if (0 == j) { - if (xstrcmp("$Mdocdate: January 1 2009 $", args[j])) { + if (xstrcmp("$Mdocdate: January 5 2009 $", args[j])) { mdoc->meta.date = time(NULL); goto again; } else if (xstrcmp("$Mdocdate:", args[j]))