GNOME Bugzilla – Bug 658038
[PATCH] preprocessor bug: using quote in macros, @ becomes @@
Last modified: 2012-11-18 11:12:03 UTC
Created attachment 195457 [details] [review] pre.l.patch If quote charactor appears in macro, doxygen command charactor (@) following in the macro become twice (@@). For example: #define TEST \ /*! @brief brief1 */ \ char func1() { return 'c'; } \ /*! @brief brief2 */ \ char func2(); TEST get the result: Functions char func1 () brief1 char func2 () @brief brief2 "doxygen -d preprocessor" produces following output. --------- 00001 00002 #define TEST 00003 00004 00005 00006 00007 00008 /*! @brief brief1 */ char func1() { return 'c'; } /*! @@brief brief2 */ char func2(); 00009 --------- This bug is also happen using #arg. Attached patch for src/pre.l fixes this bug.
Good catch! I'll include the patch in the next subversion update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.7.6. 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.