Return to mdoc_man.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.64, 2014/07/02 03:48:07 | version 1.65, 2014/07/02 19:55:10 | ||
---|---|---|---|
|
|
||
pre_sm(DECL_ARGS) | pre_sm(DECL_ARGS) | ||
{ | { | ||
assert(n->child && MDOC_TEXT == n->child->type); | if (NULL == n->child) | ||
if (0 == strcmp("on", n->child->string)) | outflags ^= MMAN_Sm; | ||
outflags |= MMAN_Sm | MMAN_spc; | else if (0 == strcmp("on", n->child->string)) | ||
outflags |= MMAN_Sm; | |||
else | else | ||
outflags &= ~MMAN_Sm; | outflags &= ~MMAN_Sm; | ||
if (MMAN_Sm & outflags) | |||
outflags |= MMAN_spc; | |||
return(0); | return(0); | ||
} | } | ||