phonemes: use phoneme_add_feature if the keyword is not recognised.

This commit is contained in:
Reece H. Dunn
2017-01-25 19:11:53 +00:00
parent 442a503986
commit 40556d41be
+2 -3
View File
@@ -2050,13 +2050,12 @@ int CompilePhoneme(int compile_phoneme)
error("Missing 'endphoneme' before end-of-file"); // end of file
break;
}
if (phoneme_add_feature(phoneme_out, item_string, NULL) == ENS_OK)
continue;
error("Bad keyword in phoneme definition '%s'", item_string);
continue;
}
if (phoneme_add_feature(phoneme_out, item_string, NULL) == ENS_OK)
continue;
switch (item_type)
{
case tPHONEME_TYPE: