likely final pluralization change for today
This commit is contained in:
10
src/objnam.c
10
src/objnam.c
@@ -2437,6 +2437,16 @@ const char *oldstr;
|
|||||||
|
|
||||||
lo_c = lowc(*spot);
|
lo_c = lowc(*spot);
|
||||||
|
|
||||||
|
/* codex/spadix/neocortex and the like */
|
||||||
|
if (len >= 5
|
||||||
|
&& (!strcmpi(spot - 2, "dex")
|
||||||
|
||!strcmpi(spot - 2, "dix")
|
||||||
|
||!strcmpi(spot - 2, "tex"))
|
||||||
|
/* indices would have been ok too, but stick with indexes */
|
||||||
|
&& (strcmpi(spot - 4,"index") != 0)) {
|
||||||
|
Strcasecpy(spot - 1, "ices"); /* ex|ix -> ices */
|
||||||
|
goto bottom;
|
||||||
|
}
|
||||||
/* Ends in z, x, s, ch, sh; add an "es" */
|
/* Ends in z, x, s, ch, sh; add an "es" */
|
||||||
if (index("zxs", lo_c)
|
if (index("zxs", lo_c)
|
||||||
|| (len >= 2 && lo_c == 'h' && index("cs", lowc(*(spot - 1)))
|
|| (len >= 2 && lo_c == 'h' && index("cs", lowc(*(spot - 1)))
|
||||||
|
|||||||
Reference in New Issue
Block a user