version 1.32, 2010/04/02 11:37:07 |
version 1.33, 2010/04/02 11:39:00 |
|
|
if (ARGS_EOLN == c) |
if (ARGS_EOLN == c) |
break; |
break; |
|
|
|
/* |
|
* XXX Temporarily disable the handling of leading punctuation. |
|
* We must investigate the fallout before enabling this. |
|
*/ |
|
#if 0 |
/* Don't emit leading punct. for phrases. */ |
/* Don't emit leading punct. for phrases. */ |
|
|
if (NULL == head && ARGS_PHRASE != c && |
if (NULL == head && ARGS_PHRASE != c && |
|
|
return(0); |
return(0); |
continue; |
continue; |
} |
} |
|
#endif |
|
|
/* Always re-open head for phrases. */ |
/* Always re-open head for phrases. */ |
|
|
|
|
if (ARGS_PUNCT == c) |
if (ARGS_PUNCT == c) |
break; |
break; |
|
|
|
/* |
|
* XXX Temporarily disable the handling of leading punctuation. |
|
* We must investigate the fallout before enabling this. |
|
*/ |
|
#if 0 |
if (NULL == body && 1 == mdoc_isdelim(p)) { |
if (NULL == body && 1 == mdoc_isdelim(p)) { |
if ( ! mdoc_word_alloc(m, line, la, p)) |
if ( ! mdoc_word_alloc(m, line, la, p)) |
return(0); |
return(0); |
continue; |
continue; |
} |
} |
|
#endif |
|
|
if (NULL == body) { |
if (NULL == body) { |
if ( ! mdoc_body_alloc(m, line, ppos, tok)) |
if ( ! mdoc_body_alloc(m, line, ppos, tok)) |
|
|
|
|
assert(ARGS_PHRASE != c); |
assert(ARGS_PHRASE != c); |
|
|
|
/* |
|
* XXX Temporarily disable the handling of leading punctuation. |
|
* We must investigate the fallout before enabling this. |
|
*/ |
|
#if 0 |
/* Flush out leading punctuation. */ |
/* Flush out leading punctuation. */ |
|
|
if (NULL == head && 1 == mdoc_isdelim(p)) { |
if (NULL == head && 1 == mdoc_isdelim(p)) { |
|
|
return(0); |
return(0); |
continue; |
continue; |
} |
} |
|
#endif |
|
|
if (NULL == head) { |
if (NULL == head) { |
assert(NULL == body); |
assert(NULL == body); |
|
|
if (ARGS_EOLN == c) |
if (ARGS_EOLN == c) |
break; |
break; |
|
|
|
/* |
|
* XXX Temporarily disable the handling of leading punctuation. |
|
* We must investigate the fallout before enabling this. |
|
*/ |
|
#if 0 |
if ( ! (MDOC_IGNDELIM & mdoc_macros[tok].flags) && |
if ( ! (MDOC_IGNDELIM & mdoc_macros[tok].flags) && |
0 == j && 1 == mdoc_isdelim(p)) { |
0 == j && 1 == mdoc_isdelim(p)) { |
if ( ! mdoc_word_alloc(m, line, la, p)) |
if ( ! mdoc_word_alloc(m, line, la, p)) |
return(0); |
return(0); |
continue; |
continue; |
} else if (0 == j) |
} else |
|
#endif |
|
if (0 == j) |
if ( ! mdoc_elem_alloc(m, line, la, tok, arg)) |
if ( ! mdoc_elem_alloc(m, line, la, tok, arg)) |
return(0); |
return(0); |
|
|