diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-15 10:51:39 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-15 10:51:39 +0900 |
commit | a65b883ee4bf1831f586218430470f0a493bbe5a (patch) | |
tree | 996f4f9fcfe434eb0fab959769d2ba0225397327 /src/parserintf.h | |
parent | b65cb2d67b946445ba89e1938cee8527969922cd (diff) | |
download | doxygen-a65b883ee4bf1831f586218430470f0a493bbe5a.tar.gz doxygen-a65b883ee4bf1831f586218430470f0a493bbe5a.tar.bz2 doxygen-a65b883ee4bf1831f586218430470f0a493bbe5a.zip |
Imported Upstream version 1.8.8upstream/1.8.8
Diffstat (limited to 'src/parserintf.h')
-rw-r--r-- | src/parserintf.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/parserintf.h b/src/parserintf.h index c389597..019b4a9 100644 --- a/src/parserintf.h +++ b/src/parserintf.h @@ -148,17 +148,19 @@ class ParserManager ParserManager() : m_defaultParser(0) { m_parsers.setAutoDelete(TRUE); } + void registerDefaultParser(ParserInterface *parser) + { + m_defaultParser = parser; + } + /** Registers an additional parser. * @param[in] name A symbolic name of the parser, i.e. "c", * "python", "fortran", "vhdl", ... * @param[in] parser The parser that is to be used for the * given name. - * @param[in] defParser Use this parser as the default parser, used - * for unregistered file extensions. */ - void registerParser(const char *name,ParserInterface *parser,bool defParser=FALSE) + void registerParser(const char *name,ParserInterface *parser) { - if (defParser && m_defaultParser==0) m_defaultParser=parser; m_parsers.insert(name,parser); } |