summaryrefslogtreecommitdiffstats
path: root/src/sqlcode.h
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-09-13 19:12:32 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-09-13 19:12:32 (GMT)
commit5162dab5a4254ef65e2de972f07a00ff52e7734c (patch)
tree6c1a004eb68ae2098306c20fb4d098bc879eb75e /src/sqlcode.h
parente801f129218e6f9ab11dc165b0e1607fc64cd645 (diff)
downloadDoxygen-5162dab5a4254ef65e2de972f07a00ff52e7734c.zip
Doxygen-5162dab5a4254ef65e2de972f07a00ff52e7734c.tar.gz
Doxygen-5162dab5a4254ef65e2de972f07a00ff52e7734c.tar.bz2
Refactoring: making sqlcode.l reentrant
Diffstat (limited to 'src/sqlcode.h')
-rw-r--r--src/sqlcode.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/sqlcode.h b/src/sqlcode.h
index 20e20f7..aa465d7 100644
--- a/src/sqlcode.h
+++ b/src/sqlcode.h
@@ -1,12 +1,10 @@
/******************************************************************************
*
- *
- *
- * Copyright (C) 1997-2014 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.
*
@@ -32,6 +30,8 @@ class Definition;
class SQLCodeParser : public CodeParserInterface
{
public:
+ SQLCodeParser();
+ virtual ~SQLCodeParser();
void parseCode(CodeOutputInterface &codeOutIntf,
const char *scopeName,
const QCString &input,
@@ -48,6 +48,9 @@ class SQLCodeParser : public CodeParserInterface
bool collectXRefs=TRUE
);
void resetCodeParserState();
+ private:
+ struct Private;
+ std::unique_ptr<Private> p;
};