![]() ![]() | ![]() |
version 1.142, 2015/10/06 18:30:44 | version 1.143, 2015/10/12 00:07:27 | ||
---|---|---|---|
|
|
||
switch (tok) { | switch (tok) { | ||
case MDOC_Bd: | case MDOC_Bd: | ||
/* FALLTHROUGH */ | |||
case MDOC_Bf: | case MDOC_Bf: | ||
/* FALLTHROUGH */ | |||
case MDOC_Bl: | case MDOC_Bl: | ||
/* FALLTHROUGH */ | |||
case MDOC_En: | case MDOC_En: | ||
/* FALLTHROUGH */ | |||
case MDOC_Rs: | case MDOC_Rs: | ||
p->norm = mandoc_calloc(1, sizeof(union mdoc_data)); | p->norm = mandoc_calloc(1, sizeof(union mdoc_data)); | ||
break; | break; | ||
|
|
||
if ('\0' == p[1]) | if ('\0' == p[1]) | ||
switch (p[0]) { | switch (p[0]) { | ||
case '(': | case '(': | ||
/* FALLTHROUGH */ | |||
case '[': | case '[': | ||
return DELIM_OPEN; | return DELIM_OPEN; | ||
case '|': | case '|': | ||
return DELIM_MIDDLE; | return DELIM_MIDDLE; | ||
case '.': | case '.': | ||
/* FALLTHROUGH */ | |||
case ',': | case ',': | ||
/* FALLTHROUGH */ | |||
case ';': | case ';': | ||
/* FALLTHROUGH */ | |||
case ':': | case ':': | ||
/* FALLTHROUGH */ | |||
case '?': | case '?': | ||
/* FALLTHROUGH */ | |||
case '!': | case '!': | ||
/* FALLTHROUGH */ | |||
case ')': | case ')': | ||
/* FALLTHROUGH */ | |||
case ']': | case ']': | ||
return DELIM_CLOSE; | return DELIM_CLOSE; | ||
default: | default: |