You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rb_define_method(rb_cUString, "hash", rb_u_string_hash, 0); /* in ext/u/rb_u_string_hash.c */
for the parser to look in the correct file for the method definition (and its documentation). This seems to be due to a deficiency in the handling of multiple C files in that it seems per-file based and that the parser doesn’t wait for the definition to be made in a subsequent scan of, in this case, ext/u/rb_u_string_hash.c.
Until that deficiency is solved, you need to use
/* in FILE */
The regexp that tries to match FILE is, however, broken. It only allows file names matching \w+. This works fine for MRI, where all files are in the root directory, but for my project the C files are under ext/ and thus it won’t do.
The regexp should be updated to at least match [\w/\\]+.
The text was updated successfully, but these errors were encountered:
When using the C parser you need to write
for the parser to look in the correct file for the method definition (and its documentation). This seems to be due to a deficiency in the handling of multiple C files in that it seems per-file based and that the parser doesn’t wait for the definition to be made in a subsequent scan of, in this case, ext/u/rb_u_string_hash.c.
Until that deficiency is solved, you need to use
The regexp that tries to match FILE is, however, broken. It only allows file names matching
\w+
. This works fine for MRI, where all files are in the root directory, but for my project the C files are under ext/ and thus it won’t do.The regexp should be updated to at least match
[\w/\\]+
.The text was updated successfully, but these errors were encountered: