|
|
|
|
|
|
|
|
{ "stressAdd", V_STRESSADD }, |
|
|
{ "stressAdd", V_STRESSADD }, |
|
|
{ "stressAmp", V_STRESSAMP }, |
|
|
{ "stressAmp", V_STRESSAMP }, |
|
|
{ "stressLength", V_STRESSLENGTH }, |
|
|
{ "stressLength", V_STRESSLENGTH }, |
|
|
|
|
|
{ "stressOpt", V_STRESSOPT }, |
|
|
|
|
|
|
|
|
{ "maintainer", V_MAINTAINER }, |
|
|
{ "maintainer", V_MAINTAINER }, |
|
|
{ "status", V_STATUS }, |
|
|
{ "status", V_STATUS }, |
|
|
|
|
|
|
|
|
{ "tunes", V_TUNES }, |
|
|
{ "tunes", V_TUNES }, |
|
|
{ "dictrules", V_DICTRULES }, |
|
|
{ "dictrules", V_DICTRULES }, |
|
|
{ "stressRule", V_STRESSRULE }, |
|
|
{ "stressRule", V_STRESSRULE }, |
|
|
{ "stressOpt", V_STRESSOPT }, |
|
|
|
|
|
{ "replace", V_REPLACE }, |
|
|
{ "replace", V_REPLACE }, |
|
|
{ "words", V_WORDGAP }, |
|
|
{ "words", V_WORDGAP }, |
|
|
{ "echo", V_ECHO }, |
|
|
{ "echo", V_ECHO }, |
|
|
|
|
|
|
|
|
&data[0], &data[1], &data[2], &data[3], &data[4], &data[5], &data[6], &data[7]); |
|
|
&data[0], &data[1], &data[2], &data[3], &data[4], &data[5], &data[6], &data[7]); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
static void ReadNumbers(char *p, int *flags, int maxValue, const MNEM_TAB *keyword_tab, int key) { |
|
|
|
|
|
|
|
|
void ReadNumbers(char *p, int *flags, int maxValue, const MNEM_TAB *keyword_tab, int key) { |
|
|
// read a list of numbers from string p |
|
|
// read a list of numbers from string p |
|
|
// store them as flags in *flags |
|
|
// store them as flags in *flags |
|
|
// the meaning of the numbers is bit ordinals, not integer values |
|
|
// the meaning of the numbers is bit ordinals, not integer values |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ReadNumbers(p, &translator->dict_condition, 32, keyword_tab, key); |
|
|
ReadNumbers(p, &translator->dict_condition, 32, keyword_tab, key); |
|
|
break; |
|
|
break; |
|
|
case V_STRESSOPT: |
|
|
|
|
|
if (CheckTranslator(translator, keyword_tab, key) != 0) |
|
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
ReadNumbers(p, &translator->langopts.stress_flags, 32, keyword_tab, key); |
|
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
case V_NUMBERS: |
|
|
case V_NUMBERS: |
|
|
if (CheckTranslator(translator, keyword_tab, key) != 0) |
|
|
if (CheckTranslator(translator, keyword_tab, key) != 0) |