diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-07-15 19:23:12 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-07-16 06:27:29 (GMT) |
commit | 50fdb591d4abfdf88bfdda96ffd832cc4c024963 (patch) | |
tree | 85ad9b591eb36ad73cc07f4fb91ddcfb6d5762cf /src/pyscanner.l | |
parent | 93dc8f81eaaf5523715a4d5867cbb55f46c3f647 (diff) | |
download | Doxygen-50fdb591d4abfdf88bfdda96ffd832cc4c024963.zip Doxygen-50fdb591d4abfdf88bfdda96ffd832cc4c024963.tar.gz Doxygen-50fdb591d4abfdf88bfdda96ffd832cc4c024963.tar.bz2 |
Refactor: Modernize clang parser and make it run with multiple threads
Diffstat (limited to 'src/pyscanner.l')
-rw-r--r-- | src/pyscanner.l | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pyscanner.l b/src/pyscanner.l index a3dbaba..07b39d6 100644 --- a/src/pyscanner.l +++ b/src/pyscanner.l @@ -1517,7 +1517,7 @@ static void newFunction(yyscan_t yyscanner) static inline int computeIndent(const char *s) { int col=0; - static int tabSize=Config_getInt(TAB_SIZE); + int tabSize=Config_getInt(TAB_SIZE); const char *p=s; char c; while ((c=*p++)) @@ -1936,8 +1936,7 @@ PythonOutlineParser::~PythonOutlineParser() void PythonOutlineParser::parseInput(const char *fileName, const char *fileBuf, const std::shared_ptr<Entry> &root, - bool /*sameTranslationUnit*/, - QStrList & /*filesInSameTranslationUnit*/) + ClangTUParser * /*clangParser*/) { struct yyguts_t *yyg = (struct yyguts_t*)p->yyscanner; yyextra->thisParser = this; |