summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-05-28 20:00:52 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-05-28 20:00:52 (GMT)
commitd6bba866a0414c6ad3c1dd3f84f6b60debaf92f9 (patch)
tree63640f6ab8624e6002a83f74371640a7491f4231
parent458ba151d257e84074c67a880f6b9c7c27806264 (diff)
parent054f42a18675d486cd67d2e0bfc2718fde3320a8 (diff)
downloadDoxygen-d6bba866a0414c6ad3c1dd3f84f6b60debaf92f9.zip
Doxygen-d6bba866a0414c6ad3c1dd3f84f6b60debaf92f9.tar.gz
Doxygen-d6bba866a0414c6ad3c1dd3f84f6b60debaf92f9.tar.bz2
Merge branch 'master' of github.com:doxygen/doxygen
-rw-r--r--src/constexp.l4
-rw-r--r--src/declinfo.l4
-rw-r--r--src/sqlcode.l5
3 files changed, 13 insertions, 0 deletions
diff --git a/src/constexp.l b/src/constexp.l
index 86cf4c7..bd42104 100644
--- a/src/constexp.l
+++ b/src/constexp.l
@@ -113,6 +113,10 @@ bool parseconstexp(const char *fileName,int lineNr,const QCString &s)
constexpYYlex_init_extra(&constexpYY_extra, &yyscanner);
struct yyguts_t *yyg = (struct yyguts_t*)yyscanner;
+#ifdef FLEX_DEBUG
+ yyset_debug(1,yyscanner);
+#endif
+
yyextra->g_constExpFileName = fileName;
yyextra->g_constExpLineNr = lineNr;
yyextra->g_inputString = s;
diff --git a/src/declinfo.l b/src/declinfo.l
index e7e9164..d7f8743 100644
--- a/src/declinfo.l
+++ b/src/declinfo.l
@@ -250,6 +250,10 @@ void parseFuncDecl(const QCString &decl,bool objC,QCString &cl,QCString &t,
declinfoYYlex_init_extra(&g_declinfo_extra, &g_yyscanner);
struct yyguts_t *yyg = (struct yyguts_t*)g_yyscanner;
+#ifdef FLEX_DEBUG
+ yyset_debug(1,g_yyscanner);
+#endif
+
printlex(yy_flex_debug, TRUE, __FILE__, NULL);
yyextra->inputString = decl;
//printf("Input=`%s'\n",yyextra->inputString);
diff --git a/src/sqlcode.l b/src/sqlcode.l
index d14bcfb..79393fd 100644
--- a/src/sqlcode.l
+++ b/src/sqlcode.l
@@ -380,6 +380,11 @@ void parseSqlCode(
sqlcodeYYlex_init_extra(&sqlcode_extra, &yyscanner);
struct yyguts_t *yyg = (struct yyguts_t*)yyscanner;
+
+#ifdef FLEX_DEBUG
+ yyset_debug(1,yyscanner);
+#endif
+
printlex(yy_flex_debug, TRUE, __FILE__, fd ? fd->fileName().data(): NULL);
yyextra->code = &od;