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

tools: enclose the layout name in quotes #269

Merged
merged 2 commits into from
Nov 10, 2021

Conversation

whot
Copy link
Contributor

@whot whot commented Nov 8, 2021

Because otherwise the 'no' layout is treated as disagreement with whatever is to
be disagreed with. Fixed in YAML 1.2 but that's not universally supported.

Fixes #268

@whot
Copy link
Contributor Author

whot commented Nov 8, 2021

Actually, come to think of it we should probably enclose the variants too since we're bound to run into the same issue there too. And the ISO bits, etc... I don't remember exactly why I didn't choose to add quotes everywhere, I think it was just for readability.

@whot whot changed the title tools: enclose the layout name in quotes Draft: tools: enclose the layout name in quotes Nov 8, 2021
whot added 2 commits November 10, 2021 14:45
Because otherwise the 'no' layout is treated as disagreement with whatever is to
be disagreed with. Fixed in YAML 1.2 but that's not universally supported.

Fixes xkbcommon#268
@whot whot force-pushed the wip/registry-quotes branch from 4834f3d to 1c0f0d0 Compare November 10, 2021 04:47
@whot whot changed the title Draft: tools: enclose the layout name in quotes tools: enclose the layout name in quotes Nov 10, 2021
@whot whot requested a review from bluetech November 10, 2021 04:53
@whot
Copy link
Contributor Author

whot commented Nov 10, 2021

ready now, this encloses most short strings that have the potential of resulting in a mis-parsing in quotes now

@whot whot merged commit 50a2456 into xkbcommon:master Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Norway problem in yaml output from xkbcli list
2 participants