summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2011-12-10 20:30:14 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2011-12-10 20:30:14 (GMT)
commite7c5e0d738bcc16bb2194740fd009242d4059045 (patch)
treebb2f8266e3a639e6a4b15f02416a3aae5173c275 /src/pre.l
parentcfb38c32173c3a16dc1c8e868b4cc23a68ed28b8 (diff)
downloadDoxygen-e7c5e0d738bcc16bb2194740fd009242d4059045.zip
Doxygen-e7c5e0d738bcc16bb2194740fd009242d4059045.tar.gz
Doxygen-e7c5e0d738bcc16bb2194740fd009242d4059045.tar.bz2
Release-1.7.6.1
Diffstat (limited to 'src/pre.l')
-rw-r--r--src/pre.l15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/pre.l b/src/pre.l
index a75a51c..20a9938 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -139,19 +139,19 @@ class DefineManager
{
if (fileName==0) return;
//printf("DefineManager::addDefine(%s,%s)\n",fileName,def->name.data());
- DefinesPerFile *dpf = m_fileMap.find(fileName);
- if (dpf==0)
- {
- dpf = new DefinesPerFile;
- }
- dpf->addDefine(def);
-
Define *d = m_contextDefines.find(def->name);
if (d!=0) // redefine
{
m_contextDefines.remove(d->name);
}
m_contextDefines.insert(def->name,def);
+
+ DefinesPerFile *dpf = m_fileMap.find(fileName);
+ if (dpf==0)
+ {
+ dpf = new DefinesPerFile;
+ }
+ dpf->addDefine(def);
}
void addInclude(const char *fromFileName,const char *toFileName)
{
@@ -1468,6 +1468,7 @@ static void readIncludeFile(const QCString &inc)
}
//printf( "absIncFileName = %s\n", absIncFileName.data() );
}
+ s=includePath.next();
}
}
//printf( "absIncFileName = %s\n", absIncFileName.data() );