summaryrefslogtreecommitdiffstats
path: root/src/code.l
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/code.l
parent104be290eb99ab3277906a57fb4673dfa1850bc6 (diff)
downloadDoxygen-29348f280d674693e74e30ae55ca63ab3b97372e.zip
Doxygen-29348f280d674693e74e30ae55ca63ab3b97372e.tar.gz
Doxygen-29348f280d674693e74e30ae55ca63ab3b97372e.tar.bz2
Release-1.3.5-20040105
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/code.l b/src/code.l
index b24cd29..44f5d21 100644
--- a/src/code.l
+++ b/src/code.l
@@ -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
@@ -1304,7 +1304,7 @@ TYPEKW ("bool"|"char"|"double"|"float"|"int"|"long"|"short"|"signed"|"unsigned"
if (getResolvedClass(g_currentDefinition,g_sourceFileDef,g_curClassName)==0)
{
ClassDef *ncd=new ClassDef("<code>",1,
- g_curClassName,ClassDef::Class);
+ g_curClassName,ClassDef::Class,0,0,TRUE);
g_codeClassSDict.append(g_curClassName,ncd);
// insert base classes.
char *s=g_curClassBases.first();
@@ -1313,7 +1313,7 @@ TYPEKW ("bool"|"char"|"double"|"float"|"int"|"long"|"short"|"signed"|"unsigned"
ClassDef *bcd;
bcd=g_codeClassSDict[s];
if (bcd==0) bcd=getResolvedClass(g_currentDefinition,g_sourceFileDef,s);
- if (bcd)
+ if (bcd && bcd!=ncd)
{
ncd->insertBaseClass(bcd,s,Public,Normal);
}