ruby-changes:54909
From: svn <ko1@a...>
Date: Fri, 22 Feb 2019 05:59:16 +0900 (JST)
Subject: [ruby-changes:54909] svn:r67114 (trunk): * expand tabs.
svn 2019-02-22 05:59:12 +0900 (Fri, 22 Feb 2019) New Revision: 67114 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67114 Log: * expand tabs. Modified files: trunk/compile.c Index: compile.c =================================================================== --- compile.c (revision 67113) +++ compile.c (revision 67114) @@ -6099,13 +6099,13 @@ static int https://github.com/ruby/ruby/blob/trunk/compile.c#L6099 iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *ret, const NODE *node, int popped) { if (node == 0) { - if (!popped) { - int lineno = ISEQ_COMPILE_DATA(iseq)->last_line; - if (lineno == 0) lineno = FIX2INT(rb_iseq_first_lineno(iseq)); - debugs("node: NODE_NIL(implicit)\n"); - ADD_INSN(ret, lineno, putnil); - } - return COMPILE_OK; + if (!popped) { + int lineno = ISEQ_COMPILE_DATA(iseq)->last_line; + if (lineno == 0) lineno = FIX2INT(rb_iseq_first_lineno(iseq)); + debugs("node: NODE_NIL(implicit)\n"); + ADD_INSN(ret, lineno, putnil); + } + return COMPILE_OK; } return iseq_compile_each0(iseq, ret, node, popped); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/