Skip to content

Commit

Permalink
Merge pull request #8968 from albert-github/feature/bug_365053_2
Browse files Browse the repository at this point in the history
bug_365053 Wrong reference to ::classname (in typedef)
  • Loading branch information
doxygen committed Dec 15, 2021
2 parents 644607d + 872421a commit b5b1163
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/scanner.l
Expand Up @@ -2346,6 +2346,18 @@ NONLopt [^\n]*
}
yyextra->current->name=yyextra->current->name.mid(9);
}
else if (yyextra->current->name.left(8)=="typedef ")
{
if (yyextra->current->type.isEmpty())
{
yyextra->current->type="typedef";
}
else
{
yyextra->current->type+="typedef ";
}
yyextra->current->name=yyextra->current->name.mid(8);
}
}
QCString tmp=yytext;
if (nameIsOperator(tmp))
Expand Down

0 comments on commit b5b1163

Please sign in to comment.