mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parse.y: Remove unneeded code
Because block_append sets prelude->nd_loc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5fe35fee8f
commit
8d06762c27
1 changed files with 0 additions and 1 deletions
1
parse.y
1
parse.y
|
@ -5643,7 +5643,6 @@ yycompile0(VALUE arg)
|
|||
rb_hash_aset(opt, rb_sym_intern_ascii_cstr("coverage_enabled"), cov);
|
||||
prelude = block_append(ruby_eval_tree_begin, body, &body->nd_loc /* dummy location */);
|
||||
add_mark_object(opt);
|
||||
prelude->nd_loc = body->nd_loc;
|
||||
tree->nd_body = prelude;
|
||||
parser->ast->body.compile_option = opt;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue