Doxygen: Why is it ignoring my last Objective-C interface or protocol?

大憨熊 提交于 2019-12-25 01:28:35

问题


I've got a header file that Doxygen lists correctly as one of the files of the project and it will show the source.

The Doxygen output shows that the file is being processed.

However, the protocol being declared in the file is not being documented in the list of classes.

I tried declaring another protocol named Foo immediately before the protocol that's not showing up. The new protocol is processed correctly. I added another one named Bar. It also is processed correctly but still the original protocol is not. I deleted the original protocol and now Bar is no longer being processed.

Basically, all of the protocols (or interfaces) that I declare are processed but the last one never is.

Why?


回答1:


The last line of my file consisted of

@end

This is what Doxygen didn't like. If I added a newline after @end then it worked as expected.



来源:https://stackoverflow.com/questions/23700137/doxygen-why-is-it-ignoring-my-last-objective-c-interface-or-protocol

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!