| phcode = NextItem(tPHONEMEMNEM); | phcode = NextItem(tPHONEMEMNEM); | ||||
| if (phcode == -1) | if (phcode == -1) | ||||
| phcode = LookupPhoneme(item_string, 1); | phcode = LookupPhoneme(item_string, 1); | ||||
| phoneme_out->end_type = phcode; // use end_type field for consonants as voicing_switch | |||||
| if (phoneme_out->type == phVOWEL) | |||||
| error("voicingswitch cannot be used on vowels"); | |||||
| else | |||||
| phoneme_out->end_type = phcode; // use end_type field for consonants as voicing_switch | |||||
| break; | break; | ||||
| case kSTRESSTYPE: | case kSTRESSTYPE: | ||||
| value = NextItem(tNUMBER); | value = NextItem(tNUMBER); |