Return to strings.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.23, 2009/03/02 12:09:32 | version 1.24, 2009/03/02 17:14:46 | ||
---|---|---|---|
|
|
||
if (0 == *++p || ! isgraph((int)*p)) | if (0 == *++p || ! isgraph((int)*p)) | ||
return(0); | return(0); | ||
return(4); | return(4); | ||
case ('['): | |||
for (c = 3, p++; *p && ']' != *p; p++, c++) | |||
if ( ! isgraph((int)*p)) | |||
break; | |||
return(*p == ']' ? c : 0); | |||
default: | default: | ||
break; | break; | ||
} | } |