summaryrefslogtreecommitdiffstats
path: root/src/vhdlcode.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2009-01-29 20:13:23 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2009-01-29 20:13:23 (GMT)
commit5f3d8499c05e9eb512b72d296073041ac4da6f4d (patch)
tree0653bda058f25d9420dd6ddcaf4edc28781a8aa4 /src/vhdlcode.l
parenta0924f7d469a42ab962763ce34ea5fabc73da9d7 (diff)
downloadDoxygen-5f3d8499c05e9eb512b72d296073041ac4da6f4d.zip
Doxygen-5f3d8499c05e9eb512b72d296073041ac4da6f4d.tar.gz
Doxygen-5f3d8499c05e9eb512b72d296073041ac4da6f4d.tar.bz2
Release-1.5.8-20090129
Diffstat (limited to 'src/vhdlcode.l')
-rw-r--r--src/vhdlcode.l9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/vhdlcode.l b/src/vhdlcode.l
index b696b2a..28e2d85 100644
--- a/src/vhdlcode.l
+++ b/src/vhdlcode.l
@@ -660,9 +660,14 @@ static void writeFuncProto()
{
QList<Argument> ql;
QCString name,ret;
- VhdlDocGen::parseFuncProto(g_FuncProto.data(),ql,name,ret,FALSE);
+ VhdlDocGen::parseFuncProto(g_FuncProto,ql,name,ret,FALSE);
- QStringList qlist=QStringList::split(name.data(),g_FuncProto,FALSE);
+ if (name.isEmpty())
+ {
+ codifyLines(g_FuncProto.data(),g_CurrClass.data());
+ return;
+ }
+ QStringList qlist=QStringList::split(name,g_FuncProto,FALSE);
QCString temp=(QCString)qlist[0];
codifyLines(temp.data(),g_CurrClass.data());
g_FuncProto.stripPrefix(temp.data());