mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4e15be8bad
commit
6703277024
1 changed files with 7 additions and 7 deletions
14
compile.c
14
compile.c
|
@ -6099,13 +6099,13 @@ static int
|
|||
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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue