summaryrefslogtreecommitdiffstats
path: root/src/latexdocvisitor.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-08-04 14:19:53 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-08-04 14:19:53 (GMT)
commitd645425393534be6e486e7ac95a5dbfa2a732fdc (patch)
treeda2bf229a19f78c6f62cfb7c9fbd3acde33170f2 /src/latexdocvisitor.cpp
parent300440178962a0c4b9c5a52b449a68777da67c7b (diff)
parent1c25efff32ab9b8032b032f5e2374f77b09354eb (diff)
downloadDoxygen-d645425393534be6e486e7ac95a5dbfa2a732fdc.zip
Doxygen-d645425393534be6e486e7ac95a5dbfa2a732fdc.tar.gz
Doxygen-d645425393534be6e486e7ac95a5dbfa2a732fdc.tar.bz2
Merge branch 'feature/issue_6831' of https://github.com/albert-github/doxygen into albert-github-feature/issue_6831
Diffstat (limited to 'src/latexdocvisitor.cpp')
-rw-r--r--src/latexdocvisitor.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/latexdocvisitor.cpp b/src/latexdocvisitor.cpp
index 7706064..a9d2c64 100644
--- a/src/latexdocvisitor.cpp
+++ b/src/latexdocvisitor.cpp
@@ -1588,10 +1588,8 @@ void LatexDocVisitor::visitPre(DocParamList *pl)
{
QListIterator<DocNode> li(pl->paramTypes());
DocNode *type;
- bool first=TRUE;
for (li.toFirst();(type=li.current());++li)
{
- if (!first) m_t << " | "; else first=FALSE;
if (type->kind()==DocNode::Kind_Word)
{
visit((DocWord*)type);
@@ -1600,6 +1598,10 @@ void LatexDocVisitor::visitPre(DocParamList *pl)
{
visit((DocLinkedWord*)type);
}
+ else if (type->kind()==DocNode::Kind_Sep)
+ {
+ m_t << " " << ((DocSeparator *)type)->chars() << " ";
+ }
}
if (useTable) m_t << " & ";
}