From 03994c79c88393291ffe44e64663d07a18c95d9b Mon Sep 17 00:00:00 2001 From: albert-github Date: Mon, 20 May 2019 13:27:31 +0200 Subject: Missing debug statements sqlcode and xmlcode lexers The messages for `doxygen -d lex` were missing in case of the sqlcode.l and xmlcode.l --- src/sqlcode.l | 3 +++ src/xmlcode.l | 3 +++ 2 files changed, 6 insertions(+) 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; } -- cgit v0.12