summaryrefslogtreecommitdiffstats
path: root/src/vhdlparser.y
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2012-04-29 17:51:51 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2012-04-29 17:51:51 (GMT)
commit44ca9512aaeb19f7fbd07afda88ec4cfe53ce831 (patch)
treea8d7cbd0da612bb0b1fa97dcc1bac1838f845338 /src/vhdlparser.y
parentf3e0c94b327d47e5c3d3a36a9a6300cee8d2a537 (diff)
downloadDoxygen-44ca9512aaeb19f7fbd07afda88ec4cfe53ce831.zip
Doxygen-44ca9512aaeb19f7fbd07afda88ec4cfe53ce831.tar.gz
Doxygen-44ca9512aaeb19f7fbd07afda88ec4cfe53ce831.tar.bz2
Release-1.8.0-20120429
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)
{