summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-05-24 11:39:00 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-05-24 11:39:00 (GMT)
commit96de4597eb27064ad2a90cd2f70d5dcf9bf66071 (patch)
tree9c918fadf17a95e9d520399f90d2ef5e19a64332
parent09aa9ba7da61c9452523f40719cf07bf36e6c976 (diff)
downloadDoxygen-96de4597eb27064ad2a90cd2f70d5dcf9bf66071.zip
Doxygen-96de4597eb27064ad2a90cd2f70d5dcf9bf66071.tar.gz
Doxygen-96de4597eb27064ad2a90cd2f70d5dcf9bf66071.tar.bz2
Compilation error on debug compilation of constexp.l
I case we use `LEX_FLAGS=-d` to compile `constexp.l` we get the error: ``` constexp.l: In member function ‘bool ConstExpressionParser::parse(const char*, int, const QCString&)’: constexp.l:140:17: error: ‘yyscanner’ was not declared in this scope; did you mean ‘yyscan_t’? 140 | yyset_debug(1,yyscanner); | ^~~~~~~~~ | yyscan_t make[2]: *** [src/CMakeFiles/doxymain.dir/build.make:455: src/CMakeFiles/doxymain.dir/__/generated_src/constexp.cpp.o] Error 1 ```
-rw-r--r--src/constexp.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/constexp.l b/src/constexp.l
index a14f8d3..0f053bd 100644
--- a/src/constexp.l
+++ b/src/constexp.l
@@ -137,7 +137,7 @@ bool ConstExpressionParser::parse(const char *fileName,int lineNr,const QCString
struct yyguts_t *yyg = (struct yyguts_t*)p->yyscanner;
#ifdef FLEX_DEBUG
- yyset_debug(1,yyscanner);
+ constexpYYset_debug(1,p->yyscanner);
#endif
yyextra->constExpFileName = fileName;