summaryrefslogtreecommitdiffstats
path: root/src/vhdlparser.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdlparser.y')
-rw-r--r--src/vhdlparser.y22
1 files changed, 4 insertions, 18 deletions
diff --git a/src/vhdlparser.y b/src/vhdlparser.y
index 8d6280d..d4223c0 100644
--- a/src/vhdlparser.y
+++ b/src/vhdlparser.y
@@ -115,7 +115,6 @@ static bool isFuncProcProced();
static void initEntry(Entry *e);
static void addProto(const char *s1,const char *s2,const char *s3,
const char *s4,const char *s5,const char *s6);
-static bool findInstant(QCString inst);
static void createFunction(const QCString &impure,int spec,
const QCString &fname);
@@ -2115,12 +2114,13 @@ static void addCompInst(char *n, char* instName, char* comp,int iLine)
if (lastCompound)
{
current->args=lastCompound->name;
- if (!findInstant(current->type))
+ if (true) // !findInstant(current->type))
{
initEntry(current);
instFiles.append(new Entry(*current));
}
- current->reset();
+ delete current;
+ current=new Entry;
}
else
{
@@ -2205,6 +2205,7 @@ static void initEntry(Entry *e)
{
e->fileName = s_str.fileName;
e->lang=SrcLangExt_VHDL;
+ isVhdlDocPending();
initGroupInfo(e);
}
@@ -2250,21 +2251,6 @@ static void addProto(const char *s1,const char *s2,const char *s3,
}
}
-static bool findInstant(QCString inst)
-{
- QListIterator<Entry> eli(instFiles);
- Entry *cur;
-
- for (eli.toFirst();(cur=eli.current());++eli)
- {
- if (stricmp(inst.data(),cur->type.data())==0)
- {
- return TRUE;
- }
- }
- return FALSE;
-}//findInst
-
static void createFunction(const QCString &impure,int spec,
const QCString &fname)
{