diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-03-20 20:51:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-20 20:51:38 (GMT) |
commit | 0776c5491feded1d27e5765051b9170b66f0caad (patch) | |
tree | cb99bf3d0f65b4c589e02a565acf9d7337a55bee /src/pre.l | |
parent | 685bb16be27dcfe50c8ee48dae383c3f083eab06 (diff) | |
parent | 2920e034fc940f38fc7162abdb3a082ef56bf04c (diff) | |
download | Doxygen-0776c5491feded1d27e5765051b9170b66f0caad.zip Doxygen-0776c5491feded1d27e5765051b9170b66f0caad.tar.gz Doxygen-0776c5491feded1d27e5765051b9170b66f0caad.tar.bz2 |
Merge pull request #6859 from albert-github/feature/issue_6856
issue #6856 Doxygen only expands macro defined in header file once when referred multiple times
Diffstat (limited to 'src/pre.l')
-rw-r--r-- | src/pre.l | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -464,13 +464,10 @@ 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) { - alreadyIncluded = TRUE; - //printf(" already included 1\n"); - return 0; // already done + g_allIncludes.insert(absName,(void *)0x8); } - g_allIncludes.insert(absName,(void *)0x8); } // check include stack for absName |