[macruby-changes] [2578] MacRuby/trunk/compiler.cpp

source_changes at macosforge.org source_changes at macosforge.org
Sat Sep 19 13:32:48 PDT 2009


Revision: 2578
          http://trac.macosforge.org/projects/ruby/changeset/2578
Author:   lsansonetti at apple.com
Date:     2009-09-19 13:32:48 -0700 (Sat, 19 Sep 2009)
Log Message:
-----------
let's default the compiler fname to an empty string, to not crash the annotation manager

Modified Paths:
--------------
    MacRuby/trunk/compiler.cpp

Modified: MacRuby/trunk/compiler.cpp
===================================================================
--- MacRuby/trunk/compiler.cpp	2009-09-19 19:59:13 UTC (rev 2577)
+++ MacRuby/trunk/compiler.cpp	2009-09-19 20:32:48 UTC (rev 2578)
@@ -29,7 +29,7 @@
 
 RoxorCompiler::RoxorCompiler(void)
 {
-    fname = NULL;
+    fname = "";
     inside_eval = false;
 
     bb = NULL;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090919/3d993d4b/attachment.html>


More information about the macruby-changes mailing list