version 1.32, 2010/03/23 11:30:48 |
version 1.33, 2010/03/23 21:50:43 |
Line 33 static int in_line_eoln(MACRO_PROT_ARGS); |
|
Line 33 static int in_line_eoln(MACRO_PROT_ARGS); |
|
static int blk_imp(MACRO_PROT_ARGS); |
static int blk_imp(MACRO_PROT_ARGS); |
static int blk_close(MACRO_PROT_ARGS); |
static int blk_close(MACRO_PROT_ARGS); |
|
|
static int rew_scope(enum man_type, struct man *, int); |
static int rew_scope(enum man_type, |
static int rew_dohalt(int, enum man_type, |
struct man *, enum mant); |
|
static int rew_dohalt(enum mant, enum man_type, |
const struct man_node *); |
const struct man_node *); |
static int rew_block(int, enum man_type, |
static int rew_block(enum mant, enum man_type, |
const struct man_node *); |
const struct man_node *); |
|
|
const struct man_macro __man_macros[MAN_MAX] = { |
const struct man_macro __man_macros[MAN_MAX] = { |
Line 104 man_unscope(struct man *m, const struct man_node *n) |
|
Line 105 man_unscope(struct man *m, const struct man_node *n) |
|
|
|
|
|
static int |
static int |
rew_block(int ntok, enum man_type type, const struct man_node *n) |
rew_block(enum mant ntok, enum man_type type, const struct man_node *n) |
{ |
{ |
|
|
if (MAN_BLOCK == type && ntok == n->parent->tok && |
if (MAN_BLOCK == type && ntok == n->parent->tok && |
Line 120 rew_block(int ntok, enum man_type type, const struct m |
|
Line 121 rew_block(int ntok, enum man_type type, const struct m |
|
* sections and subsections). |
* sections and subsections). |
*/ |
*/ |
static int |
static int |
rew_dohalt(int tok, enum man_type type, const struct man_node *n) |
rew_dohalt(enum mant tok, enum man_type type, const struct man_node *n) |
{ |
{ |
int c; |
int c; |
|
|
Line 175 rew_dohalt(int tok, enum man_type type, const struct m |
|
Line 176 rew_dohalt(int tok, enum man_type type, const struct m |
|
* scopes. When a scope is closed, it must be validated and actioned. |
* scopes. When a scope is closed, it must be validated and actioned. |
*/ |
*/ |
static int |
static int |
rew_scope(enum man_type type, struct man *m, int tok) |
rew_scope(enum man_type type, struct man *m, enum mant tok) |
{ |
{ |
struct man_node *n; |
struct man_node *n; |
int c; |
int c; |
Line 205 rew_scope(enum man_type type, struct man *m, int tok) |
|
Line 206 rew_scope(enum man_type type, struct man *m, int tok) |
|
int |
int |
blk_close(MACRO_PROT_ARGS) |
blk_close(MACRO_PROT_ARGS) |
{ |
{ |
int ntok; |
enum mant ntok; |
const struct man_node *nn; |
const struct man_node *nn; |
|
|
switch (tok) { |
switch (tok) { |