version 1.16, 2009/01/01 20:40:16 |
version 1.17, 2009/01/02 14:06:16 |
Line 146 append_text_argv(struct mdoc *mdoc, int tok, int pos, |
|
Line 146 append_text_argv(struct mdoc *mdoc, int tok, int pos, |
|
|
|
if ( ! mdoc_valid_pre(mdoc, tok, pos, 0, NULL, argc, argv)) |
if ( ! mdoc_valid_pre(mdoc, tok, pos, 0, NULL, argc, argv)) |
return(0); |
return(0); |
|
|
|
switch (tok) { |
|
case (MDOC_Pf): |
|
/* TODO: only use first two arguments in element. */ |
|
break; |
|
default: |
|
break; |
|
} |
|
|
mdoc_elem_alloc(mdoc, pos, tok, (size_t)argc, |
mdoc_elem_alloc(mdoc, pos, tok, (size_t)argc, |
argv, (size_t)sz, _CC(args)); |
argv, (size_t)sz, _CC(args)); |
mdoc->next = MDOC_NEXT_SIBLING; |
mdoc->next = MDOC_NEXT_SIBLING; |
Line 332 macro_close_explicit(MACRO_PROT_ARGS) |
|
Line 341 macro_close_explicit(MACRO_PROT_ARGS) |
|
case (MDOC_Re): |
case (MDOC_Re): |
tt = MDOC_Rs; |
tt = MDOC_Rs; |
break; |
break; |
|
case (MDOC_Ef): |
|
tt = MDOC_Bf; |
|
break; |
default: |
default: |
abort(); |
abort(); |
/* NOTREACHED */ |
/* NOTREACHED */ |
|
|
} |
} |
|
|
|
|
|
/* |
|
* FIXME: like in with macro_constant, have the append_ routine chop the |
|
* number of requisite arguments (this is ugly when done in-line). |
|
*/ |
int |
int |
macro_constant_delimited(MACRO_PROT_ARGS) |
macro_constant_delimited(MACRO_PROT_ARGS) |
{ |
{ |