Commit 8c738e34 authored by take_cheeze's avatar take_cheeze

remove unnecessary scope filename update

parent 43089322
......@@ -1115,7 +1115,7 @@ codegen(codegen_scope *s, node *tree, int val)
if (!tree) return;
if (s->irep && s->pc > 0 && s->filename_index != tree->filename) {
s->irep->filename = s->filename = mrb_parser_get_filename(s->parser, s->filename_index);
s->irep->filename = mrb_parser_get_filename(s->parser, s->filename_index);
mrb_debug_info_append_file(s->mrb, s->irep, s->debug_start_pos, s->pc);
s->debug_start_pos = s->pc;
s->filename_index = tree->filename;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment