summaryrefslogtreecommitdiff
path: root/include/ruby/re.h
diff options
context:
space:
mode:
authorLourens Naudé <lourens@bearmetal.eu>2019-03-16 15:53:18 +0000
committerNARUSE, Yui <naruse@airemix.jp>2019-04-24 02:02:05 +0900
commitcf930985da1ae15b66577ec8286e54ad04ccda78 (patch)
tree92548d9d187a7d18929bd31105446e2e25948434 /include/ruby/re.h
parent82ef172a8cb90819bf835e468eb8af2323e3bccf (diff)
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/ruby/re.h')
-rw-r--r--include/ruby/re.h3
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 {