[1.47.03c]

Phoneme definition files: added prev2PhW() and next3PhW().
Added language: ms (Malay).


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@332 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2013-03-26 00:00:23 +00:00
parent 180f381936
commit 61edd2d38f
32 changed files with 2436 additions and 623 deletions
+5 -5
View File
@@ -470,12 +470,12 @@ static int compile_line(char *linebuf, char *dict_line, int *hash)
}
ix = 0;
if(isdigit(*p))
if(IsDigit09(*p))
{
ix += (*p-'0');
p++;
}
if(isdigit(*p))
if(IsDigit09(*p))
{
ix = ix*10 + (*p-'0');
p++;
@@ -542,7 +542,7 @@ static int compile_line(char *linebuf, char *dict_line, int *hash)
case 1:
if((c == '-') && multiple_words)
{
if(isdigit(word[0]))
if(IsDigit09(word[0]))
{
multiple_numeric_hyphen = 1;
}
@@ -1156,7 +1156,7 @@ static void copy_rule_string(char *string, int &state)
sxflags |= SUFX_M;
break;
default:
if(isdigit(c))
if(IsDigit09(c))
value = (value*10) + (c - '0');
break;
}
@@ -1575,7 +1575,7 @@ static int compile_lettergroup(char *input, FILE *f_out)
char item_length[N_LETTERGP_ITEMS];
p = input;
if(!isdigit(p[0]) || !isdigit(p[1]))
if(!IsDigit09(p[0]) || !IsDigit09(p[1]))
{
fprintf(f_log,"%5d: Expected 2 digits after '.L'\n",linenum);
error_count++;