summaryrefslogtreecommitdiffstats
path: root/src/vhdlscanner.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-02-21 12:36:45 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-02-21 12:36:45 (GMT)
commit23b0a90048405fda4e4304052c3c1277c33a6a2b (patch)
treea854db582634296d7f019de53e424561da555e5b /src/vhdlscanner.l
parent20e951b95073ef5c1b76e9336c6281928e5c5a4d (diff)
downloadDoxygen-23b0a90048405fda4e4304052c3c1277c33a6a2b.zip
Doxygen-23b0a90048405fda4e4304052c3c1277c33a6a2b.tar.gz
Doxygen-23b0a90048405fda4e4304052c3c1277c33a6a2b.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)