[macruby-changes] [1977] MacRuby/branches/experimental/objc.m
source_changes at macosforge.org
source_changes at macosforge.org
Thu Jul 2 20:33:51 PDT 2009
Revision: 1977
http://trac.macosforge.org/projects/ruby/changeset/1977
Author: lsansonetti at apple.com
Date: 2009-07-02 20:33:50 -0700 (Thu, 02 Jul 2009)
Log Message:
-----------
don't forget to initialize the shared compiler in macruby_main() too
Modified Paths:
--------------
MacRuby/branches/experimental/objc.m
Modified: MacRuby/branches/experimental/objc.m
===================================================================
--- MacRuby/branches/experimental/objc.m 2009-07-03 02:28:51 UTC (rev 1976)
+++ MacRuby/branches/experimental/objc.m 2009-07-03 03:33:50 UTC (rev 1977)
@@ -430,6 +430,8 @@
return path;
}
+void rb_vm_init_compiler(void);
+
int
macruby_main(const char *path, int argc, char **argv)
{
@@ -459,6 +461,7 @@
void *tree;
ruby_init();
tree = ruby_options(argc, argv);
+ rb_vm_init_compiler();
free(newargv);
free(p1);
free(p2);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090702/cde2b440/attachment.html>
More information about the macruby-changes
mailing list