Revision
3205
Author
lsansonetti@apple.com
Date
2010-01-07 19:14:55 -0800 (Thu, 07 Jan 2010)

Log Message

revert r3204 because it breaks the doc build

Modified Paths

Diff

Modified: MacRuby/trunk/lib/rdoc/parser/c.rb (3204 => 3205)


--- 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"