diff options
author | Lourens Naudé <lourens@bearmetal.eu> | 2019-03-16 15:53:18 +0000 |
---|---|---|
committer | NARUSE, Yui <naruse@airemix.jp> | 2019-04-24 02:02:05 +0900 |
commit | cf930985da1ae15b66577ec8286e54ad04ccda78 (patch) | |
tree | 92548d9d187a7d18929bd31105446e2e25948434 /include | |
parent | 82ef172a8cb90819bf835e468eb8af2323e3bccf (diff) | |
download | ruby-cf930985da1ae15b66577ec8286e54ad04ccda78.tar.gz |
Remove member char_offset_updated from struct rmatch as member char_offset_num_allocated can serve the same purpose as that predicate
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/re.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/ruby/re.h b/include/ruby/re.h index 166f254aa5..7102c7ace4 100644 --- a/include/ruby/re.h +++ b/include/ruby/re.h @@ -36,9 +36,8 @@ struct rmatch_offset { struct rmatch { struct re_registers regs; - int char_offset_updated; - int char_offset_num_allocated; struct rmatch_offset *char_offset; + int char_offset_num_allocated; }; struct RMatch { |