Edit

kc3-lang/libxkbcommon/changes/api/+octal-escape.bugfix.md

Branch :

  • Browse

    Commit

  • Author : Pierre Le Marre
    Date : 2025-03-29 12:24:39
    Hash : 7d91a753
    Message : xkbcomp: Enable xkbcomp-style octal escape sequences Xorg xkbcomp only parses octal sequences with `\0`, while xkbcommon does not force the `0` prefix of the numeric part. However, we only parsed up to to 3 digits, which does not allow to parse e.g. `\0377` while `\377` parses fine. Fixed by parsing up to 4 octal digits, while checking the result fits into a byte.

  • changes/api/+octal-escape.bugfix.md
  • Fixed octal escape sequences valid in Xorg’s xkbcomp but not in xkbcommon. Now up
    to *4* digits are parsed, compared to *3* previously.