ruby-changes:56122
From: git <ko1@a...>
Date: Sun, 16 Jun 2019 22:48:39 +0900 (JST)
Subject: [ruby-changes:56122] git: 11f8c89171 (trunk): * expand tabs.
https://git.ruby-lang.org/ruby.git/commit/?id=11f8c89171 From 11f8c89171ff0b260891dec064cf69d9400a0704 Mon Sep 17 00:00:00 2001 From: git <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> Date: Sun, 16 Jun 2019 22:48:23 +0900 Subject: * expand tabs. diff --git a/compile.c b/compile.c index 6351914..928a95b 100644 --- a/compile.c +++ b/compile.c @@ -6859,22 +6859,22 @@ iseq_compile_each0(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *node, in https://github.com/ruby/ruby/blob/trunk/compile.c#L6859 if (node->nd_vid) { ADD_INSN1(ret, line, putspecialobject, INT2FIX(VM_SPECIAL_OBJECT_CONST_BASE)); - base_id = node->nd_vid; + base_id = node->nd_vid; } else { compile_cpath(ret, iseq, node->nd_else); - base_id = node->nd_else->nd_mid; + base_id = node->nd_else->nd_mid; } - CHECK(COMPILE(ret, "lvalue", node->nd_value)); + CHECK(COMPILE(ret, "lvalue", node->nd_value)); - if (popped) { + if (popped) { ADD_INSN(ret, line, swap); - } else { - ADD_INSN(ret, line, dup); + } else { + ADD_INSN(ret, line, dup); ADD_INSN1(ret, line, reverse, INT2FIX(3)); - } + } - ADD_INSN1(ret, line, setconstant, ID2SYM(base_id)); + ADD_INSN1(ret, line, setconstant, ID2SYM(base_id)); break; } case NODE_CVASGN:{ -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/