Skip to content

Commit 8f1c630

Browse files
authored
Merge pull request doxygen#11228 from albert-github/feature/issue_11227
issue doxygen#11227 Generated documentation for the IDL interface has wrong quotes
2 parents 6a822ee + 68c5875 commit 8f1c630

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/filedef.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ QCString includeStatement(SrcLangExt lang,IncludeKind kind)
7373
QCString includeOpen(SrcLangExt lang,IncludeKind kind)
7474
{
7575
if (lang==SrcLangExt::Java || kind==IncludeKind::ImportModule) return "";
76-
if (kind & IncludeKind_LocalMask)
76+
if ((kind & IncludeKind_LocalMask) || (lang==SrcLangExt::IDL))
7777
{
7878
return "\"";
7979
}
@@ -85,7 +85,9 @@ QCString includeOpen(SrcLangExt lang,IncludeKind kind)
8585

8686
QCString includeClose(SrcLangExt lang,IncludeKind kind)
8787
{
88-
if (lang==SrcLangExt::Java || lang==SrcLangExt::IDL) return ";";
88+
if (lang==SrcLangExt::IDL) return "\";";
89+
else if (lang==SrcLangExt::Java) return ";";
90+
8991
switch (kind)
9092
{
9193
case IncludeKind::ImportLocal: return "\";";

0 commit comments

Comments
 (0)