summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-12-18 10:38:14 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-12-18 10:38:14 (GMT)
commit149d5e8f19dda2fa4d898fbbc7d922b29c8aa281 (patch)
tree0a6e62ed52346b17fd52172d2134e83ddaa43912
parentf869e377f29c66bebeda45cf0597a8a982e84fcb (diff)
downloadDoxygen-149d5e8f19dda2fa4d898fbbc7d922b29c8aa281.zip
Doxygen-149d5e8f19dda2fa4d898fbbc7d922b29c8aa281.tar.gz
Doxygen-149d5e8f19dda2fa4d898fbbc7d922b29c8aa281.tar.bz2
Incorrect warning "yyextra->inside" instead of "inside"
We get warnings like: ``` warning: reached end of file while yyextra->inside a 'code' block! warning: Ignoring \brief command yyextra->inside argument documentation ``` this is due to the fact that the scanner has been made reentrant (inside becomes yyextra->inside and this slipped into the warning strings as well)
-rw-r--r--src/scanner.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scanner.l b/src/scanner.l
index 7115129..c1718dc 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -4307,7 +4307,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
<CopyArgComment,CopyArgVerbatim>. { yyextra->fullArgString+=*yytext; }
<CopyArgComment>{CMD}("brief"|"short"){B}+ {
warn(yyextra->yyFileName,yyextra->yyLineNr,
- "Ignoring %cbrief command yyextra->inside argument documentation",*yytext
+ "Ignoring %cbrief command inside argument documentation",*yytext
);
yyextra->fullArgString+=' ';
}
@@ -6421,7 +6421,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
}
<DocCopyBlock><<EOF>> {
warn(yyextra->yyFileName,yyextra->yyLineNr,
- "reached end of file while yyextra->inside a '%s' block!\n"
+ "reached end of file while inside a '%s' block!\n"
"The command that should end the block seems to be missing!\n",
yyextra->docBlockName.data());
yyterminate();