version 1.62, 2009/03/08 20:57:35 |
version 1.64, 2009/03/09 14:19:59 |
|
|
#include <stdlib.h> |
#include <stdlib.h> |
#include <stdio.h> |
#include <stdio.h> |
#include <string.h> |
#include <string.h> |
#ifdef __linux__ |
|
#include <time.h> |
|
#endif |
|
|
|
|
#include "private.h" |
|
|
/* |
/* |
* This has scanning/parsing routines, each of which extract a macro and |
* This has scanning/parsing routines, each of which extract a macro and |
* its arguments and parameters, then know how to progress to the next |
* its arguments and parameters, then know how to progress to the next |
* macro. |
* macro. |
*/ |
*/ |
|
|
#include "private.h" |
|
|
|
static int macro_obsolete(MACRO_PROT_ARGS); |
static int macro_obsolete(MACRO_PROT_ARGS); |
static int macro_constant(MACRO_PROT_ARGS); |
static int macro_constant(MACRO_PROT_ARGS); |
static int macro_constant_scoped(MACRO_PROT_ARGS); |
static int macro_constant_scoped(MACRO_PROT_ARGS); |
Line 183 const struct mdoc_macro __mdoc_macros[MDOC_MAX] = { |
|
Line 180 const struct mdoc_macro __mdoc_macros[MDOC_MAX] = { |
|
{ macro_constant, 0 }, /* Lb */ |
{ macro_constant, 0 }, /* Lb */ |
{ macro_constant_delimited, MDOC_CALLABLE | MDOC_PARSED }, /* Ap */ |
{ macro_constant_delimited, MDOC_CALLABLE | MDOC_PARSED }, /* Ap */ |
{ macro_text, 0 }, /* Lp */ |
{ macro_text, 0 }, /* Lp */ |
|
{ macro_text, MDOC_PARSED }, /* Lk */ |
|
{ macro_text, MDOC_PARSED }, /* Mt */ |
}; |
}; |
|
|
const struct mdoc_macro * const mdoc_macros = __mdoc_macros; |
const struct mdoc_macro * const mdoc_macros = __mdoc_macros; |