summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/code.l3
-rw-r--r--src/commentcnv.l3
-rw-r--r--src/declinfo.l2
-rw-r--r--src/scanner.l3
-rw-r--r--src/sqlcode.l2
5 files changed, 11 insertions, 2 deletions
diff --git a/src/code.l b/src/code.l
index 2ebc09d..c0db62b 100644
--- a/src/code.l
+++ b/src/code.l
@@ -3870,6 +3870,9 @@ struct CCodeParser::Private
CCodeParser::CCodeParser() : p(std::make_unique<CCodeParser::Private>())
{
codeYYlex_init_extra(&p->state,&p->yyscanner);
+#ifdef FLEX_DEBUG
+ codeYYset_debug(1,p->yyscanner);
+#endif
}
CCodeParser::~CCodeParser()
diff --git a/src/commentcnv.l b/src/commentcnv.l
index 940f1a5..13a21c3 100644
--- a/src/commentcnv.l
+++ b/src/commentcnv.l
@@ -1093,6 +1093,9 @@ void convertCppComments(BufStr *inBuf,BufStr *outBuf,const char *fileName)
yyscan_t yyscanner;
commentcnvYY_state extra;
commentcnvYYlex_init_extra(&extra,&yyscanner);
+#ifdef FLEX_DEBUG
+ commentcnvYYset_debug(1,yyscanner);
+#endif
struct yyguts_t *yyg = (struct yyguts_t*)yyscanner;
//printf("convertCppComments(%s)\n",fileName);
yyextra->inBuf = inBuf;
diff --git a/src/declinfo.l b/src/declinfo.l
index 37d0449..af94569 100644
--- a/src/declinfo.l
+++ b/src/declinfo.l
@@ -262,7 +262,7 @@ void parseFuncDecl(const QCString &decl,const SrcLangExt lang,QCString &cl,QCStr
struct yyguts_t *yyg = (struct yyguts_t*)g_yyscanner;
#ifdef FLEX_DEBUG
- yyset_debug(1,g_yyscanner);
+ declinfoYYset_debug(1,g_yyscanner);
#endif
printlex(yy_flex_debug, TRUE, __FILE__, NULL);
diff --git a/src/scanner.l b/src/scanner.l
index a03b777..ed2c88c 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -7329,6 +7329,9 @@ struct COutlineParser::Private
COutlineParser::COutlineParser() : p(std::make_unique<COutlineParser::Private>())
{
scannerYYlex_init_extra(&p->state,&p->yyscanner);
+#ifdef FLEX_DEBUG
+ scannerYYset_debug(1,p->yyscanner);
+#endif
}
COutlineParser::~COutlineParser()
diff --git a/src/sqlcode.l b/src/sqlcode.l
index 499a512..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);