summaryrefslogtreecommitdiffstats
path: root/src/perlmodgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-08-31 09:49:17 (GMT)
committerGitHub <noreply@github.com>2016-08-31 09:49:17 (GMT)
commit02c694ba798c09fc9093e2cb9bb927a41115d049 (patch)
tree18b953ffbc2221016281c1fa2d5b881e35f4b69a /src/perlmodgen.cpp
parent59a8f09137ebfc25c2f238a417088b50b8fbb631 (diff)
parentfdfb027f346c30d6cd209b366e6cb879fb11cbcb (diff)
downloadDoxygen-02c694ba798c09fc9093e2cb9bb927a41115d049.zip
Doxygen-02c694ba798c09fc9093e2cb9bb927a41115d049.tar.gz
Doxygen-02c694ba798c09fc9093e2cb9bb927a41115d049.tar.bz2
Merge pull request #510 from albert-github/feature/bug_clang_warnings
Warnings from CLANG compiler
Diffstat (limited to 'src/perlmodgen.cpp')
-rw-r--r--src/perlmodgen.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/perlmodgen.cpp b/src/perlmodgen.cpp
index 09e1968..0cd9911 100644
--- a/src/perlmodgen.cpp
+++ b/src/perlmodgen.cpp
@@ -716,6 +716,11 @@ void PerlModDocVisitor::visit(DocInclude *inc)
case DocInclude::LatexInclude: type = "latexonly"; break;
case DocInclude::VerbInclude: type = "preformatted"; break;
case DocInclude::Snippet: return;
+ case DocInclude::SnippetDoc:
+ case DocInclude::IncludeDoc:
+ err("Internal inconsistency: found switch SnippetDoc / IncludeDoc in file: %s"
+ "Please create a bug report\n",__FILE__);
+ break;
}
openItem(type);
m_output.addFieldQuotedString("content", inc->text());