summaryrefslogtreecommitdiffstats
path: root/src/sqlcode.l
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-12-08 10:38:32 (GMT)
committerGitHub <noreply@github.com>2019-12-08 10:38:32 (GMT)
commit0aadb2f3e79f7aec63d8de43534916bb7358f135 (patch)
tree211b939b77c914eea991e4a619fc0ae0e8c5d3d5 /src/sqlcode.l
parentef06c8d14c7889e723331601ac847cc481966f5c (diff)
parent6d4835dbe01a27923db8a1e4559b61da5065cb7a (diff)
downloadDoxygen-0aadb2f3e79f7aec63d8de43534916bb7358f135.zip
Doxygen-0aadb2f3e79f7aec63d8de43534916bb7358f135.tar.gz
Doxygen-0aadb2f3e79f7aec63d8de43534916bb7358f135.tar.bz2
Merge branch 'master' into feature/bug_coverity_unint
Diffstat (limited to 'src/sqlcode.l')
-rw-r--r--src/sqlcode.l32
1 files changed, 31 insertions, 1 deletions
diff --git a/src/sqlcode.l b/src/sqlcode.l
index a9e88a7..02c2c14 100644
--- a/src/sqlcode.l
+++ b/src/sqlcode.l
@@ -383,7 +383,7 @@ void parseSqlCode(
struct yyguts_t *yyg = (struct yyguts_t*)yyscanner;
#ifdef FLEX_DEBUG
- yyset_debug(1,yyscanner);
+ sqlcodeYYset_debug(1,yyscanner);
#endif
printlex(yy_flex_debug, TRUE, __FILE__, fd ? fd->fileName().data(): NULL);
@@ -454,4 +454,34 @@ void resetSqlCodeParserState()
yyextra->currentMemberDef = 0;
}
+//---------------------------------------------------------------------------------
+
+void SQLCodeParser::parseCode(CodeOutputInterface &codeOutIntf,
+ const char *scopeName,
+ const QCString &input,
+ SrcLangExt,
+ bool isExampleBlock,
+ const char *exampleName,
+ FileDef *fileDef,
+ int startLine,
+ int endLine,
+ bool inlineFragment,
+ const MemberDef *memberDef,
+ bool showLineNumbers,
+ const Definition *searchCtx,
+ bool collectXRefs
+ )
+{
+ parseSqlCode(codeOutIntf,scopeName,input,isExampleBlock,exampleName,
+ fileDef,startLine,endLine,inlineFragment,memberDef,
+ showLineNumbers,searchCtx,collectXRefs);
+}
+
+void SQLCodeParser::resetCodeParserState()
+{
+ resetSqlCodeParserState();
+}
+
+//---------------------------------------------------------------------------------
+
#include "sqlcode.l.h"