-
Notifications
You must be signed in to change notification settings - Fork 441
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
rb_file_const
is not working
#1067
Comments
nobu
added a commit
to nobu/ruby
that referenced
this issue
Dec 18, 2023
Due to the bug ruby/rdoc#1067, `rb_file_const` needs `Document-const` directives.
nobu
added a commit
to nobu/ruby
that referenced
this issue
Dec 18, 2023
Due to the bug ruby/rdoc#1067, `rb_file_const` needs `Document-const` directives.
hsbt
pushed a commit
to hsbt/ruby
that referenced
this issue
Dec 25, 2023
Constant definitions using these functions have been supported, but since RDoc::Parser::C#gen_const_table did not consider other than `rb_define_const` the documents for them have not been found, without `Document-const` direvtive. Fixes ruby/rdoc#1067 ruby/rdoc@cdad51a60b
hsbt
pushed a commit
to hsbt/ruby
that referenced
this issue
Dec 25, 2023
Constant definitions using these functions have been supported, but since RDoc::Parser::C#gen_const_table did not consider other than `rb_define_const` the documents for them have not been found, without `Document-const` direvtive. Fixes ruby/rdoc#1067 ruby/rdoc@cdad51a60b
hsbt
pushed a commit
to hsbt/ruby
that referenced
this issue
Dec 25, 2023
Constant definitions using these functions have been supported, but since RDoc::Parser::C#gen_const_table did not consider other than `rb_define_const` the documents for them have not been found, without `Document-const` direvtive. Fixes ruby/rdoc#1067 ruby/rdoc@cdad51a60b
hsbt
pushed a commit
to ruby/ruby
that referenced
this issue
Dec 25, 2023
Constant definitions using these functions have been supported, but since RDoc::Parser::C#gen_const_table did not consider other than `rb_define_const` the documents for them have not been found, without `Document-const` direvtive. Fixes ruby/rdoc#1067 ruby/rdoc@cdad51a60b
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In dir.c,
rb_file_const
is used to define constants in staticrb_mFConst
in file.c.RDoc::Parser::C#do_constants
scans this line, butRDoc::Parser::C#gen_const_table
does not supportrb_file_const
and the document for this line is ignored.Ditto for
rb_curses_define_const
.The text was updated successfully, but these errors were encountered: