=================================================================== RCS file: /cvs/mandoc/Attic/prologue.c,v retrieving revision 1.2 retrieving revision 1.4 diff -u -p -r1.2 -r1.4 --- mandoc/Attic/prologue.c 2009/01/02 14:06:16 1.2 +++ mandoc/Attic/prologue.c 2009/01/05 17:57:08 1.4 @@ -1,4 +1,4 @@ -/* $Id: prologue.c,v 1.2 2009/01/02 14:06:16 kristaps Exp $ */ +/* $Id: prologue.c,v 1.4 2009/01/05 17:57:08 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -24,6 +24,8 @@ #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); @@ -65,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; @@ -180,7 +178,7 @@ again: return(0); if (0 == j) { - if (xstrcmp("$Mdocdate: January 2 2009 $", args[j])) { + if (xstrcmp("$Mdocdate: January 5 2009 $", args[j])) { mdoc->meta.date = time(NULL); goto again; } else if (xstrcmp("$Mdocdate:", args[j]))