diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-03-29 09:24:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-29 09:24:23 (GMT) |
commit | 8f04d2e35f6a4c77452603852838efd007c4fa24 (patch) | |
tree | 3fec7b1a268bf3f896960f8da8540a4b1ac527d3 | |
parent | 424985d0766971c8a9b7dd386edb19bf0eed10fb (diff) | |
parent | de8fd6e44fd4a3c25f84b81dddbb911966879707 (diff) | |
download | Doxygen-8f04d2e35f6a4c77452603852838efd007c4fa24.zip Doxygen-8f04d2e35f6a4c77452603852838efd007c4fa24.tar.gz Doxygen-8f04d2e35f6a4c77452603852838efd007c4fa24.tar.bz2 |
Merge pull request #6903 from doxygen/revert-6859-feature/issue_6856
Revert "issue #6856 Doxygen only expands macro defined in header file once when referred multiple times"
-rw-r--r-- | src/pre.l | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -464,10 +464,13 @@ static FileState *checkAndOpenFile(const QCString &fileName,bool &alreadyInclude // global guard if (g_curlyCount==0) // not #include inside { ... } { - if (g_allIncludes.find(absName)==0) + if (g_allIncludes.find(absName)!=0) { - g_allIncludes.insert(absName,(void *)0x8); + alreadyIncluded = TRUE; + //printf(" already included 1\n"); + return 0; // already done } + g_allIncludes.insert(absName,(void *)0x8); } // check include stack for absName |