summaryrefslogtreecommitdiffstats
path: root/src/vhdldocgen.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-01-22 11:19:46 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-01-22 11:19:46 (GMT)
commitbebd80f5a3715a4d3e7f1f2ed7a78ff7711c01b0 (patch)
tree9f6a6c7e8bba80238956fb3bd5b3ffe77713e45c /src/vhdldocgen.cpp
parentdc67dbe5bd5a48756c591ad02b9f68fbd2a57687 (diff)
downloadDoxygen-bebd80f5a3715a4d3e7f1f2ed7a78ff7711c01b0.zip
Doxygen-bebd80f5a3715a4d3e7f1f2ed7a78ff7711c01b0.tar.gz
Doxygen-bebd80f5a3715a4d3e7f1f2ed7a78ff7711c01b0.tar.bz2
Correct handling of error / removed debug statement
In the vhdldocgen: - error should be handled in a doxygen consistent way (in this case with an err call) - removed left over debug statment (found through #7528)
Diffstat (limited to 'src/vhdldocgen.cpp')
-rw-r--r--src/vhdldocgen.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/vhdldocgen.cpp b/src/vhdldocgen.cpp
index 4619b7a..3abac3d 100644
--- a/src/vhdldocgen.cpp
+++ b/src/vhdldocgen.cpp
@@ -200,7 +200,7 @@ void VhdlDocGen::writeOverview()
if (!f.open(IO_WriteOnly))
{
- fprintf(stderr,"Warning: Cannot open file %s for writing\n",fileName.data());
+ err("Warning: Cannot open file %s for writing\n",fileName.data());
return;
}
@@ -2932,14 +2932,14 @@ ferr:
md->setBodyDef(fd);
- QCString info="Info: Elaborating entity "+n1;
- fd=ar->getFileDef();
- info+=" for hierarchy ";
- QRegExp epr("[|]");
- QCString label=cur->type+":"+cur->write+":"+cur->name;
- label.replace(epr,":");
- info+=label;
- fprintf(stderr,"\n[%s:%d:%s]\n",fd->fileName().data(),cur->startLine,info.data());
+ //QCString info="Info: Elaborating entity "+n1;
+ //fd=ar->getFileDef();
+ //info+=" for hierarchy ";
+ //QRegExp epr("[|]");
+ //QCString label=cur->type+":"+cur->write+":"+cur->name;
+ //label.replace(epr,":");
+ //info+=label;
+ //fprintf(stderr,"\n[%s:%d:%s]\n",fd->fileName().data(),cur->startLine,info.data());
ar->insertMember(md);