Nobuyoshi Nakada
Nobuyoshi Nakada
Isn't it `irb -rrake`?
Is it intentional that the downloaded and rebuilt gem files are left under `gem_rebuild*` temporary directory?
This breaks references to labels in unchanged files from a newer file.
RDoc can detect labels only in parsed files, and to tell if words look like labels are really labels, it needs to parse those files actually. Consider a project that...
Needs tests.
Another test. ```patch diff --git a/test/ruby/test_regexp.rb b/test/ruby/test_regexp.rb index 6ec77a41a3c..ff555b3419d 100644 --- a/test/ruby/test_regexp.rb +++ b/test/ruby/test_regexp.rb @@ -1230,6 +1230,9 @@ assert_match(/\A[[:space:]]+\z/, "\r\n\v\f\r\s\u0085") assert_match(/\A[[:ascii:]]+\z/, "\x00\x7F") assert_no_match(/[[:ascii:]]/, "\x80\xFF") + + assert_match(/[[:word:]]/, "\u{200C}") + assert_match(/[[:word:]]/,...
I agree that the operations on `ARGV` should be separated from `ARGF`.
I think it is worth to mention that file name `"-"` directs to read from `$stdin`, not `./-` file.
After applying this PR, still there are some comments and `#undef`s.