Browse Source

Use '_' to indicate no parent phoneme table in the 'phonemetable' command.

master
Reece H. Dunn 8 years ago
parent
commit
9448834298
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      docs/phontab.md
  2. 1
    1
      src/libespeak-ng/compiledata.c

+ 1
- 1
docs/phontab.md View File

@@ -79,7 +79,7 @@ Starts a new phoneme table, and ends the previous table.

\<parent\> Is the name of a previously defined phoneme table whose phoneme
definitions are inherited by this one. The name `base` indicates the first
(base) phoneme table.
(base) phoneme table. The name `_` indicates no parent phoneme table.

## Phoneme Definitions


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

@@ -2412,7 +2412,7 @@ static void StartPhonemeTable(const char *name)
break;
}
}
if (ix == n_phoneme_tabs)
if (ix == n_phoneme_tabs && strcmp(item_string, "_") != 0)
error("Can't find base phonemetable '%s'", item_string);
} else
ReservePhCodes();

Loading…
Cancel
Save