mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-06 22:17:29 +00:00
When a store contains any unsupported statement (any, baselayout, beep, call, context, if, index, layer, notany, nul, platform, reset, save, set, use) or undocumented statement (clearcontext, fix, switch), then emit a compile error. Previously, compiler would not detect use of these statements in stores, which could lead to undefined behaviour at runtime. At time of writing, eight keyboards in the keyboards repository (clavbur9, hausa_ajami_qwerty, sil_cameroon_qwerty, sil_cameroon_azerty, sil_dzongkha, sil_yoruba8, sil_yoruba_bar, sil_yoruba_dot) make use of either beep or nul in stores. Due to compiler unfolding of any/index statements for key part of the rule, these would work in some cases, but this was never supported explicitly nor completely, and so at this point it is better to prevent misuse and add full support as a future task. Fixes: #16718 Test-bot: skip |
||
|---|---|---|
| .. | ||
| docs | ||
| src | ||
| .gitignore | ||
| build.sh | ||