|
|
|
|
|
|
|
|
linenum--; |
|
|
linenum--; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
int CheckNextChar() |
|
|
|
|
|
|
|
|
static int CheckNextChar() |
|
|
{ |
|
|
{ |
|
|
int c; |
|
|
int c; |
|
|
while (((c = get_char()) == ' ') || (c == '\t')) |
|
|
while (((c = get_char()) == ' ') || (c == '\t')) |
|
|
|
|
|
|
|
|
return value - min; |
|
|
return value - min; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
int CompileVowelTransition(int which) |
|
|
|
|
|
|
|
|
static int CompileVowelTransition(int which) |
|
|
{ |
|
|
{ |
|
|
// Compile a vowel transition |
|
|
// Compile a vowel transition |
|
|
int key; |
|
|
int key; |
|
|
|
|
|
|
|
|
return 0; |
|
|
return 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
espeak_ng_STATUS LoadSpect(const char *path, int control, int *addr) |
|
|
|
|
|
|
|
|
static espeak_ng_STATUS LoadSpect(const char *path, int control, int *addr) |
|
|
{ |
|
|
{ |
|
|
SpectSeq *spectseq; |
|
|
SpectSeq *spectseq; |
|
|
int peak; |
|
|
int peak; |
|
|
|
|
|
|
|
|
=8 data = stress bitmap |
|
|
=8 data = stress bitmap |
|
|
=9 special tests |
|
|
=9 special tests |
|
|
*/ |
|
|
*/ |
|
|
int CompileIf(int elif) |
|
|
|
|
|
|
|
|
static int CompileIf(int elif) |
|
|
{ |
|
|
{ |
|
|
int key; |
|
|
int key; |
|
|
int finish = 0; |
|
|
int finish = 0; |
|
|
|
|
|
|
|
|
return 0; |
|
|
return 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
void FillThen(int add) |
|
|
|
|
|
|
|
|
static void FillThen(int add) |
|
|
{ |
|
|
{ |
|
|
USHORT *p; |
|
|
USHORT *p; |
|
|
int offset; |
|
|
int offset; |
|
|
|
|
|
|
|
|
then_count = 0; |
|
|
then_count = 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
int CompileElse(void) |
|
|
|
|
|
|
|
|
static int CompileElse(void) |
|
|
{ |
|
|
{ |
|
|
USHORT *ref; |
|
|
USHORT *ref; |
|
|
USHORT *p; |
|
|
USHORT *p; |
|
|
|
|
|
|
|
|
return 0; |
|
|
return 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
int CompileElif(void) |
|
|
|
|
|
|
|
|
static int CompileElif(void) |
|
|
{ |
|
|
{ |
|
|
if (if_level < 1) { |
|
|
if (if_level < 1) { |
|
|
error("ELIF not expected"); |
|
|
error("ELIF not expected"); |
|
|
|
|
|
|
|
|
return 0; |
|
|
return 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
int CompileEndif(void) |
|
|
|
|
|
|
|
|
static int CompileEndif(void) |
|
|
{ |
|
|
{ |
|
|
USHORT *p; |
|
|
USHORT *p; |
|
|
int chain; |
|
|
int chain; |
|
|
|
|
|
|
|
|
then_count--; |
|
|
then_count--; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
int CompilePhoneme(int compile_phoneme) |
|
|
|
|
|
|
|
|
static int CompilePhoneme(int compile_phoneme) |
|
|
{ |
|
|
{ |
|
|
int endphoneme = 0; |
|
|
int endphoneme = 0; |
|
|
int keyword; |
|
|
int keyword; |
|
|
|
|
|
|
|
|
{ NULL, -1 } |
|
|
{ NULL, -1 } |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
int LookupEnvelopeName(const char *name) |
|
|
|
|
|
|
|
|
static int LookupEnvelopeName(const char *name) |
|
|
{ |
|
|
{ |
|
|
return LookupMnem(envelope_names, name); |
|
|
return LookupMnem(envelope_names, name); |
|
|
} |
|
|
} |