mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-05 22:53:38 +00:00
phonemes: use phoneme_add_feature if the keyword is not recognised.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user