summaryrefslogtreecommitdiffstats
path: root/src/declinfo.l
diff options
context:
space:
mode:
authorAdrian Negreanu <groleo@gmail.com>2019-05-22 11:51:51 (GMT)
committerAdrian Negreanu <groleo@gmail.com>2019-05-22 11:55:26 (GMT)
commit2c8eec16b0a0ce46f69af9f09b66c2475066bbe6 (patch)
tree339e5ecce9f588374532dbf8dfec5eaa83360d0a /src/declinfo.l
parent5c9d812083af06c9e683c9ff2e32f5839066863c (diff)
downloadDoxygen-2c8eec16b0a0ce46f69af9f09b66c2475066bbe6.zip
Doxygen-2c8eec16b0a0ce46f69af9f09b66c2475066bbe6.tar.gz
Doxygen-2c8eec16b0a0ce46f69af9f09b66c2475066bbe6.tar.bz2
enable debug for re-entrant lexers
Diffstat (limited to 'src/declinfo.l')
-rw-r--r--src/declinfo.l4
1 files changed, 4 insertions, 0 deletions
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);