summaryrefslogtreecommitdiffstats
path: root/src/definition.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-01-05 19:00:26 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-01-05 19:00:26 (GMT)
commit29348f280d674693e74e30ae55ca63ab3b97372e (patch)
tree278be3215f40b4fffddab1ec6dc2b8d47da895ac /src/definition.cpp
parent104be290eb99ab3277906a57fb4673dfa1850bc6 (diff)
downloadDoxygen-29348f280d674693e74e30ae55ca63ab3b97372e.zip
Doxygen-29348f280d674693e74e30ae55ca63ab3b97372e.tar.gz
Doxygen-29348f280d674693e74e30ae55ca63ab3b97372e.tar.bz2
Release-1.3.5-20040105
Diffstat (limited to 'src/definition.cpp')
-rw-r--r--src/definition.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/definition.cpp b/src/definition.cpp
index 687ef77..ac18ebe 100644
--- a/src/definition.cpp
+++ b/src/definition.cpp
@@ -2,7 +2,7 @@
*
*
*
- * Copyright (C) 1997-2003 by Dimitri van Heesch.
+ * Copyright (C) 1997-2004 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
@@ -74,7 +74,8 @@ static void removeFromMap(Definition *d)
}
Definition::Definition(const char *df,int dl,
- const char *name,const char *b,const char *d)
+ const char *name,const char *b,
+ const char *d,bool isSymbol)
{
//QCString ns;
m_defFileName = df;
@@ -108,12 +109,13 @@ Definition::Definition(const char *df,int dl,
m_briefFile=(QCString)"<"+name+">";
m_docLine=1;
m_docFile=(QCString)"<"+name+">";
- addToMap(name,this);
+ m_isSymbol = isSymbol;
+ if (m_isSymbol) addToMap(name,this);
}
Definition::~Definition()
{
- removeFromMap(this);
+ if (m_isSymbol) removeFromMap(this);
delete m_sectionDict;
delete m_sourceRefByDict;
delete m_sourceRefsDict;