summaryrefslogtreecommitdiffstats
path: root/addon/doxyparse/doxyparse.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-12-26 14:40:50 (GMT)
committerGitHub <noreply@github.com>2019-12-26 14:40:50 (GMT)
commitd1e058b9c1f93aa0a986dbc8a754c5eabd747e27 (patch)
tree5dadd9d3fae88b0d9e37182ea073e60ebe3197a5 /addon/doxyparse/doxyparse.cpp
parentc42c0ae66542e4e154c2646fc725890554208d89 (diff)
parenta5c98ade388f4f18ec30476ca706760a8129c73f (diff)
downloadDoxygen-d1e058b9c1f93aa0a986dbc8a754c5eabd747e27.zip
Doxygen-d1e058b9c1f93aa0a986dbc8a754c5eabd747e27.tar.gz
Doxygen-d1e058b9c1f93aa0a986dbc8a754c5eabd747e27.tar.bz2
Merge branch 'master' into feature/bug_fenced_code
Diffstat (limited to 'addon/doxyparse/doxyparse.cpp')
-rw-r--r--addon/doxyparse/doxyparse.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/addon/doxyparse/doxyparse.cpp b/addon/doxyparse/doxyparse.cpp
index 415354d..59b560f 100644
--- a/addon/doxyparse/doxyparse.cpp
+++ b/addon/doxyparse/doxyparse.cpp
@@ -89,19 +89,19 @@ static bool is_c_code = true;
static void findXRefSymbols(FileDef *fd)
{
// get the interface to a parser that matches the file extension
- ParserInterface *pIntf=Doxygen::parserManager->getParser(fd->getDefFileExtension());
+ CodeParserInterface &intf=Doxygen::parserManager->getCodeParser(fd->getDefFileExtension());
// get the programming language from the file name
SrcLangExt lang = getLanguageFromFileName(fd->name());
// reset the parsers state
- pIntf->resetCodeParserState();
+ intf.resetCodeParserState();
// create a new backend object
Doxyparse *parse = new Doxyparse(fd);
// parse the source code
- pIntf->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;