version 1.1, 2009/01/01 20:40:16 |
version 1.4, 2009/01/05 17:57:08 |
|
|
*/ |
*/ |
#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); |
|
|
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)) |