Permalink
Browse files

- Fixed the call to eval_string() in rb_eval_cmd()

git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@3312 23306eb0-4c56-4727-a40e-e92c0eb68959
  • Loading branch information...
1 parent 20de55c commit 6820000e8dbe9ce9a308bb74914ad374483af94f Thibault Martin-Lagardette committed Jan 20, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 vm_eval.c
View
@@ -472,7 +472,7 @@ rb_eval_cmd(VALUE cmd, VALUE arg, int level)
return val;
}
- val = eval_string(0, rb_vm_top_self(), cmd, Qnil, 0, 0);
+ val = eval_string(0, rb_vm_top_self(), cmd, Qnil, "(eval)", 1);
rb_set_safe_level_force(safe);
return val;
}

0 comments on commit 6820000

Please sign in to comment.