summaryrefslogtreecommitdiffstats
path: root/src/vhdlscanner.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2010-02-21 12:36:45 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2010-02-21 12:36:45 (GMT)
commitcd19d7a220915d1f637e0a0a5b2d05d5750f5db0 (patch)
treea854db582634296d7f019de53e424561da555e5b /src/vhdlscanner.l
parente2eb1d33d197604c048fb035fd1b6ecbd6a7494a (diff)
downloadDoxygen-cd19d7a220915d1f637e0a0a5b2d05d5750f5db0.zip
Doxygen-cd19d7a220915d1f637e0a0a5b2d05d5750f5db0.tar.gz
Doxygen-cd19d7a220915d1f637e0a0a5b2d05d5750f5db0.tar.bz2
Release-1.6.3
Diffstat (limited to 'src/vhdlscanner.l')
-rw-r--r--src/vhdlscanner.l21
1 files changed, 13 insertions, 8 deletions
diff --git a/src/vhdlscanner.l b/src/vhdlscanner.l
index a769d1f..5f582be 100644
--- a/src/vhdlscanner.l
+++ b/src/vhdlscanner.l
@@ -875,6 +875,11 @@ ENDPROTECEDBODY "end"{BR}+"protected"{BR}+"body"{BR}+{NAME}
current->name=QCString(qsl[0]);
if (lastCompound)
{
+ if (!VhdlDocGen::foundInsertedComponent(current->type,lastCompound))
+ {
+ BaseInfo *bb=new BaseInfo(current->type,Public,Normal);
+ lastCompound->extends->append(bb);
+ }
lastCompound->addSubEntry(current);
current = new Entry;
initEntry(current);
@@ -968,15 +973,15 @@ ENDPROTECEDBODY "end"{BR}+"protected"{BR}+"body"{BR}+{NAME}
//current->name+=qcs.lower();
current->name.prepend(qcs+"::");
- if (lastEntity)
- {
+ //if (lastEntity)
+ //{
// inherit private inheritance relation between entity and architecture
- if (!VhdlDocGen::foundInsertedComponent(current->name,lastEntity))
- {
- BaseInfo *bb=new BaseInfo(current->name,Private,Normal);
- lastEntity->extends->append(bb);
- }
- }
+ //if (!VhdlDocGen::foundInsertedComponent(current->name,lastEntity))
+ //{
+ // BaseInfo *bb=new BaseInfo(current->name,Private,Normal);
+ // lastEntity->extends->append(bb);
+ //}
+ //}
}
else if (current->spec==VhdlDocGen::PACKAGE_BODY)