diff options
author | albert-github <albert.tests@gmail.com> | 2019-05-20 11:27:31 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-05-20 11:27:31 (GMT) |
commit | 03994c79c88393291ffe44e64663d07a18c95d9b (patch) | |
tree | 524d79badeda54cfc5e28bb5cbfbcc237c6ccafc /src | |
parent | 08c26ab79d7a262c7c2b9a40a91dc5df445f658b (diff) | |
download | Doxygen-03994c79c88393291ffe44e64663d07a18c95d9b.zip Doxygen-03994c79c88393291ffe44e64663d07a18c95d9b.tar.gz Doxygen-03994c79c88393291ffe44e64663d07a18c95d9b.tar.bz2 |
Missing debug statements sqlcode and xmlcode lexers
The messages for `doxygen -d lex` were missing in case of the sqlcode.l and xmlcode.l
Diffstat (limited to 'src')
-rw-r--r-- | src/sqlcode.l | 3 | ||||
-rw-r--r-- | src/xmlcode.l | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/sqlcode.l b/src/sqlcode.l index c3dd679..d14bcfb 100644 --- a/src/sqlcode.l +++ b/src/sqlcode.l @@ -35,6 +35,7 @@ #include "config.h" #include "filedef.h" #include "tooltip.h" +#include "message.h" #define YY_NEVER_INTERACTIVE 1 #define YY_NO_INPUT 1 @@ -379,6 +380,7 @@ void parseSqlCode( sqlcodeYYlex_init_extra(&sqlcode_extra, &yyscanner); struct yyguts_t *yyg = (struct yyguts_t*)yyscanner; + printlex(yy_flex_debug, TRUE, __FILE__, fd ? fd->fileName().data(): NULL); yyextra->code = &od; yyextra->inputString = s; @@ -436,6 +438,7 @@ void parseSqlCode( sqlcodeYYlex_destroy(yyscanner); + printlex(yy_flex_debug, FALSE, __FILE__, fd ? fd->fileName().data(): NULL); return; } diff --git a/src/xmlcode.l b/src/xmlcode.l index e792ea9..42218b1 100644 --- a/src/xmlcode.l +++ b/src/xmlcode.l @@ -35,6 +35,7 @@ #include "config.h" #include "filedef.h" #include "tooltip.h" +#include "message.h" #define YY_NEVER_INTERACTIVE 1 #define YY_NO_INPUT 1 @@ -338,6 +339,7 @@ void parseXmlCode( ) { if (s.isEmpty()) return; + printlex(yy_flex_debug, TRUE, __FILE__, fd ? fd->fileName().data(): NULL); g_code = &od; g_inputString = s; @@ -393,6 +395,7 @@ void parseXmlCode( g_sourceFileDef=0; } + printlex(yy_flex_debug, FALSE, __FILE__, fd ? fd->fileName().data(): NULL); return; } |