On Mon, 2013-06-03 at 13:52 +0400, Aleksandr Platonov wrote:
> Hi.
> I found that #undef is ignored by Doxygen and opened Bug about this
> problem https://bugzilla.gnome.org/show_bug.cgi?id=694147
> But got no response for about 3 month. The problem is still exist in
> latest Doxygen. Could anybody look at this?
>
It seems that patch should be the following:
diff --git a/src/pre.l b/src/pre.l
index 4c017da..6f05d91 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -233,6 +233,7 @@ class DefineManager
{
Define *d = m_contextDefines.find(name);
//printf("isDefined(%s)=%p\n",name,d);
+ if (d && d->undef) d=0;
return d;
}
/** Returns a reference to the defines found in the current
context. */
--
Aleksandr Platonov
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Doxygen-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doxygen-develop