summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-09-02 08:40:33 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2019-09-02 08:41:44 +0900
commit5cd52d2d691f9a193c97378e7456e4e286c812fb (patch)
treedd07ad37be6d6d856d9053d19fef46666af6a574 /include
parente8de7c6819e85ba8cdd7825728db4a8a05605be0 (diff)
downloadmruby-5cd52d2d691f9a193c97378e7456e4e286c812fb.tar.gz
mruby-5cd52d2d691f9a193c97378e7456e4e286c812fb.zip
Fix an error in refactoring; fix #4682
Diffstat (limited to 'include')
-rw-r--r--include/mruby/error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/error.h b/include/mruby/error.h
index 7e7ef3b71..20090d197 100644
--- a/include/mruby/error.h
+++ b/include/mruby/error.h
@@ -58,7 +58,7 @@ mrb_break_value_get(struct RBreak *brk)
static inline void
mrb_break_value_set(struct RBreak *brk, mrb_value val)
{
- brk->val_union = val.value;
+ brk->value = val.value;
brk->flags &= ~RBREAK_VALUE_TT_MASK;
brk->flags |= val.tt;
}