Fix an error in refactoring; fix #4682

parent e8de7c68
...@@ -58,7 +58,7 @@ mrb_break_value_get(struct RBreak *brk) ...@@ -58,7 +58,7 @@ mrb_break_value_get(struct RBreak *brk)
static inline void static inline void
mrb_break_value_set(struct RBreak *brk, mrb_value val) 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 &= ~RBREAK_VALUE_TT_MASK;
brk->flags |= val.tt; brk->flags |= val.tt;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment