| Rev | Line | |
|---|
| [67] | 1 | --- objc/objc-act.c.orig 2009-09-15 07:41:17.000000000 -0600
|
|---|
| 2 | +++ objc/objc-act.c 2009-09-15 07:44:55.000000000 -0600
|
|---|
| 3 | @@ -972,7 +972,10 @@
|
|---|
| 4 | do not output any debug info. for class type as yet. */
|
|---|
| 5 | gcc_assert (TREE_CODE (objc_interface_context) == CLASS_INTERFACE_TYPE);
|
|---|
| 6 | save_default_debug_hooks = debug_hooks;
|
|---|
| 7 | - debug_hooks = &do_nothing_debug_hooks;
|
|---|
| 8 | + if (!flag_syntax_only)
|
|---|
| 9 | + debug_hooks = &do_nothing_debug_hooks;
|
|---|
| 10 | +
|
|---|
| 11 | +
|
|---|
| 12 | /* APPLE LOCAL end radar 4666559 */
|
|---|
| 13 | objc_ivar_chain
|
|---|
| 14 | = continue_class (objc_interface_context);
|
|---|
| 15 | @@ -16938,6 +16941,20 @@
|
|---|
| 16 | }
|
|---|
| 17 | /* APPLE LOCAL end radar 4965989 */
|
|---|
| 18 | }
|
|---|
| 19 | + if (flag_syntax_only) {
|
|---|
| 20 | + switch (TREE_CODE (class)) {
|
|---|
| 21 | + case CLASS_INTERFACE_TYPE:
|
|---|
| 22 | + ffi_rest_of_objc_class_compilation (class);
|
|---|
| 23 | + break;
|
|---|
| 24 | + case CATEGORY_INTERFACE_TYPE:
|
|---|
| 25 | + ffi_rest_of_objc_category_compilation (class);
|
|---|
| 26 | + break;
|
|---|
| 27 | + case PROTOCOL_INTERFACE_TYPE:
|
|---|
| 28 | + ffi_rest_of_objc_protocol_compilation (class);
|
|---|
| 29 | + break;
|
|---|
| 30 | + }
|
|---|
| 31 | + }
|
|---|
| 32 | +
|
|---|
| 33 | /* APPLE LOCAL end objc new property */
|
|---|
| 34 | }
|
|---|
| 35 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.