Browse Source

phonemes: use phoneme_add_feature if the keyword is not recognised.

master
Reece H. Dunn 8 years ago
parent
commit
40556d41be
1 changed files with 2 additions and 3 deletions
  1. 2
    3
      src/libespeak-ng/compiledata.c

+ 2
- 3
src/libespeak-ng/compiledata.c View File

error("Missing 'endphoneme' before end-of-file"); // end of file error("Missing 'endphoneme' before end-of-file"); // end of file
break; break;
} }
if (phoneme_add_feature(phoneme_out, item_string, NULL) == ENS_OK)
continue;
error("Bad keyword in phoneme definition '%s'", item_string); error("Bad keyword in phoneme definition '%s'", item_string);
continue; continue;
} }


if (phoneme_add_feature(phoneme_out, item_string, NULL) == ENS_OK)
continue;

switch (item_type) switch (item_type)
{ {
case tPHONEME_TYPE: case tPHONEME_TYPE:

Loading…
Cancel
Save