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

feature: add support for :category: on C functions #846

Conversation

flavorjones
Copy link
Contributor

In 2011, 0b45495 added the :category: directive, but this directive hasn't worked on C functions due to limitation in how the C parser builds context objects.

This changeset has the preprocessor temporarily store the "category" in AnyMethod#section_title so that when the C parser adds the method to the class, it can also create a section on the class.

@tenderlove tenderlove merged commit 50f0270 into ruby:master Oct 15, 2021
@flavorjones flavorjones deleted the flavorjones-support-category-in-c-function-comments branch February 2, 2024 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants