Skip to content

Commit

Permalink
issue #9070 Doxygen is not showing all called functions in graph plot
Browse files Browse the repository at this point in the history
The end of an IDL cpp_quote was not properly caught (the rule `<*>\"` was expected to be used (Note: later on a rule dedicated to PHP was present but could / should not be reached, joined these 2 as well).
For the state `DefineEnd` there was already a separate rule, adding one for functions as well (until now the rule with `.` kicked in).
  • Loading branch information
albert-github committed Jan 31, 2022
1 parent ec1e1df commit 75fe5dc
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions src/scanner.l
Expand Up @@ -5038,6 +5038,16 @@ NONLopt [^\n]*
BEGIN(FuncQual);
}
<OldStyleArgs>. { yyextra->current->args += *yytext; }
<FuncQual,FuncRound,FuncFunc>\" {
if (yyextra->insideIDL && yyextra->insideCppQuote)
{
BEGIN(EndCppQuote);
}
else
{
yyextra->current->args += *yytext;
}
}
<FuncQual,FuncRound,FuncFunc>. { yyextra->current->args += *yytext; }
<FuncQual>{BN}*"try:" |
<FuncQual>{BN}*"try"{BN}+ { /* try-function-block */
Expand Down Expand Up @@ -6963,6 +6973,11 @@ NONLopt [^\n]*
{
BEGIN(EndCppQuote);
}
else if (yyextra->insidePHP)
{
yyextra->lastStringContext=YY_START;
BEGIN(SkipString);
}
}
<*>^{B}*"#" {
if (!yyextra->insidePHP)
Expand All @@ -6989,13 +7004,6 @@ NONLopt [^\n]*
BEGIN(SkipPHPString);
}
}
<*>\" {
if (yyextra->insidePHP)
{
yyextra->lastStringContext=YY_START;
BEGIN(SkipString);
}
}
<*>\? {
if (yyextra->insideCS && (YY_START != SkipRound) && (YY_START != CSAccessorDecl))
{
Expand Down

0 comments on commit 75fe5dc

Please sign in to comment.