Skip to content

Conversation

@flavorjones
Copy link
Collaborator

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants