Skip to content

Commit

Permalink
improve using plantuml for vhdl flowcharts
Browse files Browse the repository at this point in the history
  • Loading branch information
maddox11 committed Jun 21, 2020
1 parent d5916c0 commit 8543085
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/vhdldocgen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3642,7 +3642,7 @@ void FlowChart::writeFlowChart()
#endif
const MemberDef *p=VhdlDocGen::getFlowMember();

if (p->isStatic())
if (!Config_getString(PLANTUML_JAR_PATH).isEmpty())
{
printUmlTree();
delFlowList();
Expand Down
9 changes: 1 addition & 8 deletions src/vhdljjparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -397,14 +397,7 @@ void VHDLOutlineParser::handleCommentBlock(const char *doc1, bool brief)
s->current->docLine = p->yyLineNr;
}

int j = doc.find("[plant]");
if (j >= 0)
{
doc = doc.remove(j, 7);
s->current->stat = true;
}

//int position=0;


Markdown markdown(p->yyFileName,p->iDocLine);
QCString processedDoc = Config_getBool(MARKDOWN_SUPPORT) ? markdown.process(doc) : doc;
Expand Down

0 comments on commit 8543085

Please sign in to comment.