summaryrefslogtreecommitdiffstats
path: root/addon/doxyparse
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-09-27 18:38:19 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-09-27 18:38:19 (GMT)
commita0f637dcc6624b54f03cc17e765d5f5f7bc5bc70 (patch)
treeeb8a7fb53213ecc08d834f5f4b82a73b39b23195 /addon/doxyparse
parent198165cc87a10dd92d1822d36496045f832b51f5 (diff)
parentcfdabb54c5bcea38629eb0ec8f207d1306ff0939 (diff)
downloadDoxygen-a0f637dcc6624b54f03cc17e765d5f5f7bc5bc70.zip
Doxygen-a0f637dcc6624b54f03cc17e765d5f5f7bc5bc70.tar.gz
Doxygen-a0f637dcc6624b54f03cc17e765d5f5f7bc5bc70.tar.bz2
Merge branch 'multithread_outputgen'
Diffstat (limited to 'addon/doxyparse')
-rw-r--r--addon/doxyparse/doxyparse.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/addon/doxyparse/doxyparse.cpp b/addon/doxyparse/doxyparse.cpp
index c06eb1c..2032d06 100644
--- a/addon/doxyparse/doxyparse.cpp
+++ b/addon/doxyparse/doxyparse.cpp
@@ -70,6 +70,8 @@ class Doxyparse : public CodeOutputInterface
void startCodeLine(bool) {}
void setCurrentDoc(const Definition *,const char *,bool) {}
void addWord(const char *,bool) {}
+ void startCodeFragment(const char *) {}
+ void endCodeFragment() {}
void linkableSymbol(int l, const char *sym, Definition *symDef, Definition *context)
{
@@ -90,19 +92,19 @@ static bool is_c_code = true;
static void findXRefSymbols(FileDef *fd)
{
// get the interface to a parser that matches the file extension
- CodeParserInterface &intf=Doxygen::parserManager->getCodeParser(fd->getDefFileExtension());
+ auto intf=Doxygen::parserManager->getCodeParser(fd->getDefFileExtension());
// get the programming language from the file name
SrcLangExt lang = getLanguageFromFileName(fd->name());
// reset the parsers state
- intf.resetCodeParserState();
+ intf->resetCodeParserState();
// create a new backend object
Doxyparse *parse = new Doxyparse(fd);
// parse the source code
- intf.parseCode(*parse, 0, fileToString(fd->absFilePath()), lang, FALSE, 0, fd);
+ intf->parseCode(*parse, 0, fileToString(fd->absFilePath()), lang, FALSE, 0, fd);
// dismiss the object.
delete parse;