doxygen的嵌套\如果\ ENDIF样品不工作
问题描述:
嵌套的if/endif样品似乎并不如预期的工作:doxygen的嵌套如果 ENDIF样品不工作
http://www.stack.nl/~dimitri/doxygen/manual/commands.html#cmdif
它产生:
Unconditionally shown documentation. More text. Unconditional text.
但我希望:
Unconditionally shown documentation. Unconditional text.
我尝试了几个doxygen版本(也是当前最新的v1.8.6)。 这个样本是否适用于任何人?
作为一种变通方法我用:
/*! Unconditionally shown documentation.
* \if Cond1
* Only included if Cond1 is set.
* \endif
* \if Cond2
* Only included if Cond2 is set.
* \endif
* \if (Cond2 && Cond3)
* Only included if Cond2 and Cond3 are set.
* \endif
* \if Cond2
* More text.
* \endif
* Unconditional text.
*/
但我宁愿使用嵌套样式从原来的样品。
我犯了一个错误报告:[链接](https://bugzilla.gnome.org/show_bug.cgi?id=722603
请在bug跟踪在这里提交错误报告这个) –