summaryrefslogtreecommitdiffstats
path: root/src/pycode.h
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-09-05 17:17:07 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-09-06 13:53:41 (GMT)
commit05547d571d1f5c32e7577ef26c830a240505d0aa (patch)
tree68487b48e0f4636071e136e07fda392e47c42450 /src/pycode.h
parentc5379196d315e8587cb7ec5e6005c4ae21145dde (diff)
downloadDoxygen-05547d571d1f5c32e7577ef26c830a240505d0aa.zip
Doxygen-05547d571d1f5c32e7577ef26c830a240505d0aa.tar.gz
Doxygen-05547d571d1f5c32e7577ef26c830a240505d0aa.tar.bz2
Refactoring: making pycode.l reentrant
Diffstat (limited to 'src/pycode.h')
-rw-r--r--src/pycode.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/pycode.h b/src/pycode.h
index e3a01b4..8bce2a9 100644
--- a/src/pycode.h
+++ b/src/pycode.h
@@ -1,12 +1,10 @@
/******************************************************************************
*
- *
- *
- * Copyright (C) 1997-2015 by Dimitri van Heesch.
+ * Copyright (C) 1997-2020 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
- * documentation under the terms of the GNU General Public License is hereby
- * granted. No representations are made about the suitability of this software
+ * documentation under the terms of the GNU General Public License is hereby
+ * granted. No representations are made about the suitability of this software
* for any purpose. It is provided "as is" without express or implied warranty.
* See the GNU General Public License for more details.
*
@@ -36,6 +34,8 @@ class Definition;
class PythonCodeParser : public CodeParserInterface
{
public:
+ PythonCodeParser();
+ virtual ~PythonCodeParser();
void parseCode(CodeOutputInterface &codeOutIntf,
const char *scopeName,
const QCString &input,
@@ -52,6 +52,9 @@ class PythonCodeParser : public CodeParserInterface
bool collectXrefs=TRUE
);
void resetCodeParserState();
+ private:
+ struct Private;
+ std::unique_ptr<Private> p;
};