summaryrefslogtreecommitdiffstats
path: root/addon
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-09-13 13:14:48 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-09-13 13:14:48 (GMT)
commitb07832a11606e3d1b488ee2ab4ec34bb6ccb7921 (patch)
tree771397b5c351156881d2a58be55caaf0ece85926 /addon
parentd3b66fcba6ee67f76bca5bfb64e789ee94fcf9a2 (diff)
downloadDoxygen-b07832a11606e3d1b488ee2ab4ec34bb6ccb7921.zip
Doxygen-b07832a11606e3d1b488ee2ab4ec34bb6ccb7921.tar.gz
Doxygen-b07832a11606e3d1b488ee2ab4ec34bb6ccb7921.tar.bz2
Fixed compilation issues in doxyapp
Diffstat (limited to 'addon')
-rw-r--r--addon/doxyapp/doxyapp.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/addon/doxyapp/doxyapp.cpp b/addon/doxyapp/doxyapp.cpp
index 651bc36..a05f414 100644
--- a/addon/doxyapp/doxyapp.cpp
+++ b/addon/doxyapp/doxyapp.cpp
@@ -49,6 +49,9 @@ class XRefDummyCodeGenerator : public CodeOutputInterface
void codify(const char *) {}
void writeCodeLink(const char *,const char *,const char *,const char *,const char *) {}
void writeLineNumber(const char *,const char *,const char *,int) {}
+ virtual void writeTooltip(const char *,const DocLinkInfo &,
+ const char *,const char *,const SourceLinkInfo &,
+ const SourceLinkInfo &) {}
void startCodeLine(bool) {}
void endCodeLine() {}
void startCodeAnchor(const char *) {}
@@ -107,6 +110,9 @@ static void findXRefSymbols(FileDef *fd)
// get the interface to a parser that matches the file extension
ParserInterface *pIntf=Doxygen::parserManager->getParser(fd->getDefFileExtension());
+ // get the programming language from the file name
+ SrcLangExt lang = getLanguageFromFileName(fd->name());
+
// reset the parsers state
pIntf->resetCodeParserState();
@@ -117,6 +123,7 @@ static void findXRefSymbols(FileDef *fd)
pIntf->parseCode(*xrefGen,
0,
fileToString(fd->absFilePath()),
+ lang,
FALSE,
0,
fd);