mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
[1.43.10]
Fix --compile-debug option. Add more syntax checks for --compile option. Detect empty pre-rule. Detech missing match-rule. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@240 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
@@ -1046,7 +1046,14 @@ static char *compile_rule(char *input)
|
||||
strcpy(rule_match,group_name);
|
||||
|
||||
if(rule_match[0]==0)
|
||||
{
|
||||
if(rule_post[0] != 0)
|
||||
{
|
||||
fprintf(f_log,"%5d: Syntax error\n",linenum);
|
||||
error_count++;
|
||||
}
|
||||
return(NULL);
|
||||
}
|
||||
|
||||
EncodePhonemes(rule_phonemes,buf,bad_phoneme);
|
||||
for(ix=0;; ix++)
|
||||
|
||||
Reference in New Issue
Block a user