Commit Graph
9 Commits
Author SHA1 Message Date
Juho Hiltunen 0551a234eb cleanup: reduce variable scopes in translateword.c
Contributes to #9.
2022-10-23 18:34:15 +03:00
Juho Hiltunen b4053da400 cleanup: fix cppcheck identicalInnerCondition code smells 2022-10-23 18:09:06 +03:00
Juho Hiltunen 57c7285ff9 code cleanup: move ApplySpecialAttribute2() 2022-09-17 18:20:38 +03:00
Juho Hiltunen 597cb2f440 code cleanup: move Unpronouncable() and Unpronouncable2() 2022-09-17 18:05:01 +03:00
Juho Hiltunen 9d03b09537 code cleanup: move ChangeWordStress() 2022-09-17 18:05:01 +03:00
Juho Hiltunen b52d1f3afd code cleanup: move strncpy0 to common.c 2022-09-04 07:12:39 +03:00
Juho Hiltunen 47b1b5baeb code cleanup: move TranslateWord3() and others o translateword.c
Use parameters instead of globals. Note the change from sizeof(word_phonemes) to size_word_phonemes.
2022-09-03 11:54:10 +03:00
Juho Hiltunen 5e7c105723 code cleanup: move TranslateLetter() and others to translateword.c 2022-09-03 11:46:16 +03:00
Juho Hiltunen fb06936c51 code cleanup: start moving translateWord3() to a new source file.
The file will be organized to have one callable function only. This
should make code structure simpler.

Existing code will be changed to use function parameters instead of
global variables.

Possible problems include too much dependencies with numbers.c.
2022-09-03 11:41:30 +03:00