GNOME Bugzilla – Bug 690629
[C++] stall on preprocessing macro with a comment including an apostrophe
Last modified: 2012-12-27 00:43:13 UTC
Created attachment 232100 [details] Testcase I stumbled on it while trying to generate docs for Firefox, here's a minimized testcase: ------- [a.cpp] ------- #include "a.h" #define N(f) enum e { #define M N #include "a.h" }; ----- [a.h] ----- #define M M( A | //' B ) #undef M ----- With MACRO_EXPANSION enabled (all other settings are default), this example causes Doxygen 1.8.2 to stall on preprocessing a.cpp (100% core usage, runs infinitely). OS: Windows 7 SP1
Confirmed. Should be fixed in the next release.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.3. 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.
Verified fixed in doxygen 1.8.3. Thanks, Dimitri!