[macruby-changes] [3205] MacRuby/trunk/lib/rdoc/parser/c.rb

source_changes at macosforge.org source_changes at macosforge.org
Thu Jan 7 19:14:56 PST 2010


Revision: 3205
          http://trac.macosforge.org/projects/ruby/changeset/3205
Author:   lsansonetti at apple.com
Date:     2010-01-07 19:14:55 -0800 (Thu, 07 Jan 2010)
Log Message:
-----------
revert r3204 because it breaks the doc build

Revision Links:
--------------
    http://trac.macosforge.org/projects/ruby/changeset/3204

Modified Paths:
--------------
    MacRuby/trunk/lib/rdoc/parser/c.rb

Modified: MacRuby/trunk/lib/rdoc/parser/c.rb
===================================================================
--- MacRuby/trunk/lib/rdoc/parser/c.rb	2010-01-07 23:31:55 UTC (rev 3204)
+++ MacRuby/trunk/lib/rdoc/parser/c.rb	2010-01-08 03:14:55 UTC (rev 3205)
@@ -195,7 +195,7 @@
   end
 
   def do_methods
-    @content.scan(%r{rb_(objc_)?define_
+    @content.scan(%r{rb_define_
                    (
                       singleton_method |
                       method           |
@@ -208,7 +208,7 @@
                      \s*(-?\w+)\s*\)
                    (?:;\s*/[*/]\s+in\s+(\w+?\.[cy]))?
                  }xm) do
-      |objc, type, var_name, meth_name, meth_body, param_count, source_file|
+      |type, var_name, meth_name, meth_body, param_count, source_file|
 
       # Ignore top-object and weird struct.c dynamic stuff
       next if var_name == "ruby_top_self"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100107/e0eff986/attachment.html>


More information about the macruby-changes mailing list