diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2016-08-31 09:49:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-31 09:49:17 (GMT) |
commit | 02c694ba798c09fc9093e2cb9bb927a41115d049 (patch) | |
tree | 18b953ffbc2221016281c1fa2d5b881e35f4b69a /src/perlmodgen.cpp | |
parent | 59a8f09137ebfc25c2f238a417088b50b8fbb631 (diff) | |
parent | fdfb027f346c30d6cd209b366e6cb879fb11cbcb (diff) | |
download | Doxygen-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.cpp | 5 |
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()); |