GNOME Bugzilla – Bug 413877
Objective-C #import statement stops header file being parsed
Last modified: 2007-05-05 13:16:53 UTC
Given a header file (.h) a #import statement stops the file being parsed correctly and information being added to the documentation set. Commenting out the #import results in the file being parsed. Placing the #import in a ///@cond... endcond block does not fix the issue. example MyClass.h /// @cond DOXYSKIP #import <Cocoa/Cocoa.h> /// @endcond /** class to doxygen **/ @interface MyClass : NSObject { } ///init the class - (id)init; this file fails to parse, comment out the #import and it does parse. I've made this a blocker as it basically stops me from using doxygen :-(
*** This bug has been marked as a duplicate of 387781 ***
I marked this as a duplicate of bug #387781. Unfortunatly the code changed recommened aleady in CVS and I have checked they are in my check out from CVS and I am still seeing #import break documentation.
Then please attach a self-contained example (source code + config file) that allows me to reproduce the bug. The example above seems incomplete (misses the @end and config file). This seems to work fine: ------------ test.h ----------------- #import <Cocoa/Cocoa.h> /** class to doxygen */ @interface MyClass : NSObject { } ///init the class - (id)init; @end --------------------------------------
Created attachment 83886 [details] header, objective-c file and doxy config file Example .h and m file that don't parse with doxygen config file
please reopen bug reports when providing required information. thanks.
dazza: I failed to see anything wrong/missing with the output of the example you provided. Can you check if the problem is still present in the 1.5.2 release? If not then please close the bug, if so then please attach the html output you get as well and tell me exactly what is wrong/missing...