Project

General

Profile

Bug #4587

RMATCH_REGS definition is wrong

Added by now (Nikolai Weibull) over 9 years ago. Updated over 9 years ago.

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

Description

=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

Updated by now (Nikolai Weibull) over 9 years ago

What’s the status of this bug?

Updated by matz (Yukihiro Matsumoto) over 9 years ago

  • Status changed from Open to Closed

It's fixed in r31312.

Also available in: Atom PDF