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

This commit is contained in:
Reece H. Dunn
2017-01-30 19:14:00 +00:00
parent 574ecbd634
commit 9448834298
2 changed files with 2 additions and 2 deletions
+1 -1
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
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();