GNOME Bugzilla – Bug 672119
Doxygen refeers "defines" as "enum" in PHP code
Last modified: 2012-05-19 12:26:27 UTC
Source: <?php define ('CONSTNAME1', 0); define ('CONSTNAME2', 'VALUE'); ?> Output: Enumerations enum CONSTNAME1 enum CONSTNAME2 Settings: EXTRACT_ALL = true Generate only HTML Other settings by default I be obliged to using INPUT_FILTER to replace: "define ('CONSTNAME', VALUE);" => "const CONSTNAME = VALUE" (c-style)
I agree that the choice for mapping defines to enums wasn't a very good one. I'll map it to a const as you suggest.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.1. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant.