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

add a TYPE suffix to all asciidoctor type attributes #444

Merged
merged 1 commit into from
Sep 16, 2020

Conversation

bashbaug
Copy link
Contributor

Fixes #443.

Because asciidoctor attributes are not currently case-sensitive, the TYPE suffix is needed to disambiguate between an API type and an enum with the same name.

Because asciidoctor attributes are not currently case-sensitive,
the TYPE suffix is needed to disambiguate between an API type and
an enum with the same name.
@bashbaug bashbaug requested a review from alycm September 15, 2020 00:59
@bashbaug bashbaug added the OpenCL API Spec Issues related to the OpenCL API specification. label Sep 15, 2020
@bashbaug
Copy link
Contributor Author

FWIW, I found another case that will be fixed by this PR: Without this change there is an ambiguity between the CL_FLOAT image channel data type and the cl_float type.

Copy link
Contributor

@alycm alycm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I hadn't realized that the actual wrong text was ending up in the rendered output.

The changes are all very procedural, this doesn't need to wait for extra reviews, I'll merge immediately.

@alycm alycm merged commit bb7df89 into KhronosGroup:master Sep 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OpenCL API Spec Issues related to the OpenCL API specification.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

handle case-insensitive asciidoctor attributes
2 participants