summaryrefslogtreecommitdiffstats
path: root/src/vhdlparser.y
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2012-04-08 14:16:03 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2012-04-08 14:16:03 (GMT)
commit17ee30b327bf4f07f2411a50a46f5467456beacf (patch)
treeffd092e761289b417363c0562ceb9b93b88f19a4 /src/vhdlparser.y
parent0039b4f79ad7e628dcab61e1d82f26fb8fa11cfe (diff)
downloadDoxygen-17ee30b327bf4f07f2411a50a46f5467456beacf.zip
Doxygen-17ee30b327bf4f07f2411a50a46f5467456beacf.tar.gz
Doxygen-17ee30b327bf4f07f2411a50a46f5467456beacf.tar.bz2
Release-1.8.0-20120408
Diffstat (limited to 'src/vhdlparser.y')
-rw-r--r--src/vhdlparser.y12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/vhdlparser.y b/src/vhdlparser.y
index fac86e8..8d6280d 100644
--- a/src/vhdlparser.y
+++ b/src/vhdlparser.y
@@ -106,7 +106,7 @@ static void newEntry();
static void initEntry(Entry *e);
static bool isFuncProcProced();
static void popConfig();
-static void pushLabel(QCString label);
+static void pushLabel(const QCString &label);
static void popLabel();
static void addConfigureNode(const char* a,const char*b,
bool isRoot,bool isLeave,bool inlineConf=FALSE);
@@ -416,7 +416,7 @@ use_clause : t_USE sel_list t_Semicolon
for (uint j=0;j<ql1.count();j++)
{
QStringList ql=QStringList::split(".",ql1[j],FALSE);
- QCString it=(QCString)ql[1];;
+ QCString it=ql[1].utf8();
if ( parse_sec == 0 )
{
addVhdlType(it,getParsedLine(t_USE),Entry::VARIABLE_SEC,VhdlDocGen::USE,it.data(),"_use_");
@@ -2128,7 +2128,7 @@ static void addCompInst(char *n, char* instName, char* comp,int iLine)
}
}
-static void pushLabel(QCString label)
+static void pushLabel(const QCString &label)
{
genLabels+="|"+label;
}
@@ -2220,7 +2220,7 @@ static void addProto(const char *s1,const char *s2,const char *s3,
for (uint u=0;u<ql.count();u++)
{
Argument *arg=new Argument;
- arg->name=(QCString)ql[u];
+ arg->name=ql[u].utf8();
if (s3)
{
arg->type=s3;
@@ -2303,7 +2303,7 @@ static void createFunction(const QCString &impure,int spec,
for (uint ii=0;ii<q1.count();ii++)
{
Argument *arg=new Argument;
- arg->name=(QCString)q1[ii];
+ arg->name=q1[ii].utf8();
current->argList->append(arg);
}
}
@@ -2335,7 +2335,7 @@ static void addVhdlType(const QCString &name,int startLine,int section,int spec,
for (uint u=0;u<ql.count();u++)
{
- current->name=(QCString)ql[u];
+ current->name=ql[u].utf8();
// if (section==Entry::VARIABLE_SEC && !(spec == VhdlDocGen::USE || spec == VhdlDocGen::LIBRARY) )
// {
// current->name.prepend(VhdlDocGen::getRecordNumber());