Hello Doxygen users,
I'm using macros to define enums (and strings) in C:
#define GENERATE_ENUM(ENUM, STR) ENUM,
typedef enum action {
FOREACH_ACTION(GENERATE_ENUM)
} action_t;
#define FOREACH_ACTION(F) \
F(ACTION_1 = 1, "Action 1") \
F(ACTION_2 = 2 /**< Some Doxygen comment */, "Action 2") \
F(ACTION_3 = 3 /**< Some other Doxygen comment */, "Action 3") \
F(ACTION_MIN = ACTION_1, "") \
F(ACTION_MAX = ACTION_3, "")
I'm using doxygen 1.8.14 with MACRO_EXPANSION=YES in Doxifile (creating HTML
output).
For some reason ACTION_3 is not being parsed correctly:
Enumerator
ACTION_1
ACTION_2
Some Doxygen comment GENERATE_ENUM (ACTION_3 = 3 /**< Some other Doxygen comment
ACTION_MIN
ACTION_MAX
Any idea how can I fix that so I will get ACTION_3 in the list with the
matching comment?
Thanks.
_______________________________________________
Doxygen-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doxygen-users