Browse Source

compiledata: declare phoneme_flags locally.

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

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

static int n_phcodes_list[N_PHONEME_TABS]; static int n_phcodes_list[N_PHONEME_TABS];
static PHONEME_TAB_LIST phoneme_tab_list2[N_PHONEME_TABS]; static PHONEME_TAB_LIST phoneme_tab_list2[N_PHONEME_TABS];
static PHONEME_TAB *phoneme_tab2; static PHONEME_TAB *phoneme_tab2;
static int phoneme_flags;


static char *p_equivalence; static char *p_equivalence;
static char equivalence_buf[20000]; static char equivalence_buf[20000];
if (phoneme_out->type == phINVALID) { if (phoneme_out->type == phINVALID) {
// Phoneme type has not been set. Copy it from the called phoneme // Phoneme type has not been set. Copy it from the called phoneme
phoneme_out->type = ph->type; phoneme_out->type = ph->type;
phoneme_flags = ph->phflags & ~phARTICULATION;
phoneme_out->start_type = ph->start_type; phoneme_out->start_type = ph->start_type;
phoneme_out->end_type = ph->end_type; phoneme_out->end_type = ph->end_type;
phoneme_out->std_length = ph->std_length; phoneme_out->std_length = ph->std_length;
if_level = 0; if_level = 0;
if_stack[0].returned = 0; if_stack[0].returned = 0;
after_if = 0; after_if = 0;
phoneme_flags = 0;
int phoneme_flags = 0;
int place_articulation = 0; int place_articulation = 0;


NextItem(tSTRING); NextItem(tSTRING);

Loading…
Cancel
Save