GNOME Bugzilla – Bug 624014
Function macro improperly parsed with escaped new line
Last modified: 2010-10-09 08:19:12 UTC
Created attachment 165598 [details] C++ test case file When a function macro definition has a escaped new line character between the macro name and the macro argument list; doxygen parses the macro diffrently then the gnu C++ preprocessor cpp. e.g. #define macroFunction\ (var_a, var_b) \ typedef int var_a##_##var_b##_##int macroFunction(this, var); doxygen preprocesses into this #define macroFunction 00002 00003 00004 00005 (var_a, var_b) typedef int var_a_var_b_int (this, var); 00006 00007 00008 00009 cpp preprocesses into this typedef int this_var_int;
Created attachment 165599 [details] doxygen configuration file use this configuration file with the test.C file. doxygen command doxygen -d Preprocessor cpp command cpp test.C
Confirmed. Should be fixed in the next subversion update.
(In reply to comment #2) > Confirmed. Should be fixed in the next subversion update. Is there anything further I need to provide or do at this point? --Charles
no, just wait until the next subversion update (it will be announced on the user mailing list) and then verify if the issue is indeed resolved.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.7.2. 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.