Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

symbols: Parse empty key #567

Merged
merged 1 commit into from
Dec 28, 2024
Merged

Conversation

wismill
Copy link
Member

@wismill wismill commented Dec 19, 2024

The following syntax does not parse in xkbcommon, but it does in xkbcomp:

xkb_symbols "x" {
    key <AD01> { };
};

While the usefulness of such statement is debatable, the fact that it does parse in xkbcomp and that tools may generate such keymap entry make it relevant to handle.

See: #565

The following syntax does not parse in xkbcommon, but it does in xkbcomp:

```
xkb_symbols "x" {
    key <AD01> { };
};
```

While the usefulness of such statement is debatable, the fact that it
does parse in xkbcomp and that tools may generate such keymap entry make
it relevant to handle.
@wismill wismill added compile-keymap Indicates a need for improvements or additions to keymap compilation X11 legacy: compatibility Indicate a need to ensure compatibility with X11 labels Dec 19, 2024
@wismill wismill added this to the 1.8.0 milestone Dec 19, 2024
@wismill
Copy link
Member Author

wismill commented Dec 28, 2024

Test will be added in #568.

@wismill wismill merged commit bf03b4b into xkbcommon:master Dec 28, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compile-keymap Indicates a need for improvements or additions to keymap compilation X11 legacy: compatibility Indicate a need to ensure compatibility with X11
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant