Issue #4587 has been updated by Yukihiro Matsumoto.

Status changed from Open to Closed

It's fixed in r31312.
----------------------------------------
Bug #4587: RMATCH_REGS definition is wrong
http://redmine.ruby-lang.org/issues/4587

Author: Nikolai Weibull
Status: Closed
Priority: Normal
Assignee: 
Category: core
Target version: Ruby 1.8.7
ruby -v: ruby 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux]


=begin
RMATCH_REGS is currently defined as

 #define RMATCH_REGS(obj)  (R_CAST(RMatch)(obj)->regs)

It should be

 #define RMATCH_REGS(obj)  ((R_CAST(RMatch)(obj))->regs)
=end



-- 
http://redmine.ruby-lang.org