summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2004-01-05 19:00:26 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2004-01-05 19:00:26 (GMT)
commitee63f0e064142addc300e0411b141d2697b73500 (patch)
tree278be3215f40b4fffddab1ec6dc2b8d47da895ac /src/code.l
parent4369f8dfd78c7d6666a604026017cfe6e4c9fbc4 (diff)
downloadDoxygen-ee63f0e064142addc300e0411b141d2697b73500.zip
Doxygen-ee63f0e064142addc300e0411b141d2697b73500.tar.gz
Doxygen-ee63f0e064142addc300e0411b141d2697b73500.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);
}