• Show log

    Commit

  • Hash : 4ac22263
    Author : Pierre Le Marre
    Date : 2025-01-16T23:22:40

    keysyms: Check clashes between keysyms names and keywords
    
    Due to how our parser is implemented, keysyms names that are also valid
    keywords require special handling.
    
    Added a check for these clashes in the keysym generator. The only
    current clash, `section`, is already handled. Note that it means that
    e.g. `section`, `Section` and `sEcTiOn` all parse to the same keysym.
    This side effect is fine here, because *currently* there is no other
    keysym that clashes with any possible of the case variation of `section`.
    But in order to be extra cautious, we now test thoses clashes too.
    
    Hopefully we will never have a clash again, but while it is unlikely
    that we modify the keywords, the keysyms are not a frozen set.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/libxkbcommon.git
    Git SSH git@git.kmx.io:kc3-lang/libxkbcommon.git
    Public access ? public
    Description

    keymap handling library for toolkits and window systems

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags