diff options
author | yui-knk <[email protected]> | 2023-10-10 21:24:39 +0900 |
---|---|---|
committer | Yuichiro Kaneko <[email protected]> | 2023-10-11 19:22:34 +0900 |
commit | f9fe7aeef46fc1e7782a942aaafa2b157b5548de (patch) | |
tree | f497a3749a3a815279a32b8ca7bda246e904e465 /compile.c | |
parent | b17ae8889444bc3437ec88265cf9d90c9064def4 (diff) |
Extract NODE_FL_NEWLINE access to macro
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9534,7 +9534,7 @@ iseq_compile_each0(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *const no /* ignore */ } else { - if (node->flags & NODE_FL_NEWLINE) { + if (nd_fl_newline(node)) { int event = RUBY_EVENT_LINE; ISEQ_COMPILE_DATA(iseq)->last_line = line; if (ISEQ_COVERAGE(iseq) && ISEQ_LINE_COVERAGE(iseq)) { |