[Rubycocoa-devel 829] Re: 1653 can't work

Back to archive index

Laurent Sansonetti lsans****@apple*****
Fri Mar 16 09:10:42 JST 2007


Ah, let me fix this in a better way...

Laurent

On Mar 16, 2007, at 1:06 AM, Fujimoto Hisa wrote:

> Hi Laurent
>
> the revision 1653 make error on config phase.
> Is the following patch is good to fix it?
> --
> hisa
>
> Index: gen_bridge_metadata.rb
> ===================================================================
> --- gen_bridge_metadata.rb    (revision 1655)
> +++ gen_bridge_metadata.rb    (working copy)
> @@ -1006,7 +1006,8 @@
>      exception_document.elements.each('/signatures/class') do |
> class_element|
>        class_name = class_element.attributes['name']
>        if @ocmethods[class_name].nil?
> -        raise "Class '#{class_name}' is described in an exception
> file but it has not been discovered by the final generator"
> +        warn "Class '#{class_name}' is described in an exception
> file but it has not been discovered by the final generator"
> +        next
>        end
>        # First replace the type attributes by the real encoding.
>        class_element.elements.each('method') do |element|
>
> _______________________________________________
> Rubycocoa-devel mailing list
> Rubyc****@lists*****
> http://lists.sourceforge.jp/mailman/listinfo/rubycocoa-devel




More information about the Rubycocoa-devel mailing list
Back to archive index