summaryrefslogtreecommitdiffstats
path: root/src/definition.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/definition.cpp')
-rw-r--r--src/definition.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/definition.cpp b/src/definition.cpp
index fc764f7..06d4da7 100644
--- a/src/definition.cpp
+++ b/src/definition.cpp
@@ -34,7 +34,11 @@ Definition::Definition(const char *df,int dl,
m_defFileName = df;
m_defLine = dl;
m_name=name;
- m_localName=stripScope(name);
+ if (m_name!="<globalScope>")
+ m_localName=stripScope(name);
+ else
+ m_localName=name;
+ //printf("m_localName=%s\n",m_localName.data());
m_brief=b;
m_doc=d;
m_sectionDict=0,