Edit

kc3-lang/libxkbcommon/changes/api/+empty-compound-statements.feature.md

Branch :

  • Show log

    Commit

  • Author : Pierre Le Marre
    Date : 2025-04-02 10:45:44
    Hash : 2e0245f8
    Message : xkbcomp: Enable more empty lists - Empty `interpret` - Empty key `type` - Empty `indicator` Motivations: - Follow the principle of least astonishment; - Ensure consistency; - Enhance the use of custom defaults; - Facilitate the tests.

  • changes/api/+empty-compound-statements.feature.md
  • Added support for further empty compound statements:
    - `xkb_types`: `type \"xxx\" {};`
    - `xkb_compat`: `interpret x {};` and `indicator \"xxx\" {};`.
    
    Such statements are initialized using the current defaults, i.e. the
    factory implicit defaults or some explicit custom defaults (e.g.
    `indicator.modifiers = Shift`).