[macruby-changes] [3312] MacRuby/trunk/vm_eval.c

source_changes at macosforge.org source_changes at macosforge.org
Wed Jan 20 04:20:42 PST 2010


Revision: 3312
          http://trac.macosforge.org/projects/ruby/changeset/3312
Author:   martinlagardette at apple.com
Date:     2010-01-20 04:20:38 -0800 (Wed, 20 Jan 2010)
Log Message:
-----------
 - Fixed the call to eval_string() in rb_eval_cmd()

Modified Paths:
--------------
    MacRuby/trunk/vm_eval.c

Modified: MacRuby/trunk/vm_eval.c
===================================================================
--- MacRuby/trunk/vm_eval.c	2010-01-20 03:11:01 UTC (rev 3311)
+++ MacRuby/trunk/vm_eval.c	2010-01-20 12:20:38 UTC (rev 3312)
@@ -472,7 +472,7 @@
 	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;
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100120/67c5f4a8/attachment.html>


More information about the macruby-changes mailing list