diff options
author | Adrian Negreanu <groleo@gmail.com> | 2019-05-22 11:51:51 (GMT) |
---|---|---|
committer | Adrian Negreanu <groleo@gmail.com> | 2019-05-22 11:55:26 (GMT) |
commit | 2c8eec16b0a0ce46f69af9f09b66c2475066bbe6 (patch) | |
tree | 339e5ecce9f588374532dbf8dfec5eaa83360d0a /src/constexp.l | |
parent | 5c9d812083af06c9e683c9ff2e32f5839066863c (diff) | |
download | Doxygen-2c8eec16b0a0ce46f69af9f09b66c2475066bbe6.zip Doxygen-2c8eec16b0a0ce46f69af9f09b66c2475066bbe6.tar.gz Doxygen-2c8eec16b0a0ce46f69af9f09b66c2475066bbe6.tar.bz2 |
enable debug for re-entrant lexers
Diffstat (limited to 'src/constexp.l')
-rw-r--r-- | src/constexp.l | 4 |
1 files changed, 4 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; |