objc-act.c (objc_init): Use dump_base_name.
authorStan Shebs <shebs@apple.com>
Wed, 28 Mar 2001 02:49:19 +0000 (02:49 +0000)
committerStan Shebs <shebs@gcc.gnu.org>
Wed, 28 Mar 2001 02:49:19 +0000 (02:49 +0000)
commite804281eadc6e2adf7da500be1cee62b6f572438
tree90f57e3b213570146b46f96de3241492f9d1f113
parent787d2fb712fa7871c40a87b44b86adae14ae3f7a
objc-act.c (objc_init): Use dump_base_name.

* objc/objc-act.c (objc_init): Use dump_base_name.
        (gen_declaration): Clear the buffer arg.
        (gen_declaration_1): New function, body of gen_declaration.
        (adorn_decl): Call gen_declaration_1 instead of gen_declaration.
        (gen_method_decl): Ditto, plus always clear buffer arg.
        (error_with_ivar): Simplify.
        (warn_with_method): Ditto.
        (build_message_expr): Don't clear buffers.
        (dump_interface): Ditto.
        (objc_debug): Ditto.
        (build_keyword_selector): Clear the buffer by only zeroing
        the first element.
        (objc_implementation_context): Declare.
        (start_class): Warn about missing @end.
        (finish_objc): Ditto.

From-SVN: r40895
gcc/ChangeLog
gcc/objc/objc-act.c