summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/pre.l')
-rw-r--r--src/pre.l7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/pre.l b/src/pre.l
index 6ae379a..6edc766 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -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