source: branches/ffigen-apple-gcc-5646/ffigen4/source/gcc-5646-objc-act.diff@ 74

Last change on this file since 74 was 67, checked in by gb, 15 years ago

Don't know if this works yet.

File size: 1.0 KB
  • objc/objc-act.c

    old new  
    972972     do not output any debug info. for class type as yet. */
    973973  gcc_assert (TREE_CODE (objc_interface_context) == CLASS_INTERFACE_TYPE);
    974974  save_default_debug_hooks = debug_hooks;
    975   debug_hooks = &do_nothing_debug_hooks;
     975  if (!flag_syntax_only)
     976    debug_hooks = &do_nothing_debug_hooks;
     977
     978
    976979  /* APPLE LOCAL end radar 4666559 */
    977980  objc_ivar_chain
    978981    = continue_class (objc_interface_context);
     
    1693816941          }
    1693916942        /* APPLE LOCAL end radar 4965989 */
    1694016943    }
     16944  if (flag_syntax_only) {
     16945    switch (TREE_CODE (class)) {
     16946    case CLASS_INTERFACE_TYPE:
     16947      ffi_rest_of_objc_class_compilation (class);
     16948      break;
     16949    case CATEGORY_INTERFACE_TYPE:
     16950      ffi_rest_of_objc_category_compilation (class);
     16951      break;
     16952    case PROTOCOL_INTERFACE_TYPE:
     16953      ffi_rest_of_objc_protocol_compilation (class);
     16954      break;
     16955    }
     16956  }
     16957
    1694116958  /* APPLE LOCAL end objc new property */
    1694216959}
    1694316960
Note: See TracBrowser for help on using the repository browser.