diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-11-21 19:55:57 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-11-21 19:55:57 (GMT) |
commit | e7d47ec23ba1b109754d6e47b1eb4d341efc3b36 (patch) | |
tree | 92c6dfa19ac7530fdfb842b76a9a529abc0a6be9 /src/code.h | |
parent | 26f6f1aec1be0361eac7c6ebc4de93904bf42a98 (diff) | |
download | Doxygen-e7d47ec23ba1b109754d6e47b1eb4d341efc3b36.zip Doxygen-e7d47ec23ba1b109754d6e47b1eb4d341efc3b36.tar.gz Doxygen-e7d47ec23ba1b109754d6e47b1eb4d341efc3b36.tar.bz2 |
Made code.l scanner reentrant
Diffstat (limited to 'src/code.h')
-rw-r--r-- | src/code.h | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -26,12 +26,20 @@ class MemberDef; class QCString; class Definition; -void parseCCode(CodeOutputInterface &,const char *,const QCString &, +class CodeScanner +{ + public: + CodeScanner(); + virtual ~CodeScanner(); + void parseCCode(CodeOutputInterface &,const char *,const QCString &, SrcLangExt lang, bool isExample, const char *exName,FileDef *fd, int startLine,int endLine,bool inlineFragment, const MemberDef *memberDef,bool showLineNumbers,const Definition *searchCtx, bool collectXRefs); -void resetCCodeParserState(); -void codeFreeScanner(); + void reset(); + private: + struct Private; + Private *p; +}; #endif |