Skip to content

Commit

Permalink
issue 7068: "QGDict::hashAsciiKey: Invalid null key" error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
doxygen committed Jul 30, 2019
1 parent 5050a47 commit 28c10b0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/scanner.l
Original file line number Diff line number Diff line change
Expand Up @@ -2014,9 +2014,12 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
}
<PHPUseAs>{ID} {
//printf("PHP: adding use as relation: %s->%s\n",yytext,aliasName.data());
Doxygen::namespaceAliasDict.insert(yytext,
new QCString(removeRedundantWhiteSpace(
substitute(aliasName,"\\","::"))));
if (!aliasName.isEmpty())
{
Doxygen::namespaceAliasDict.insert(yytext,
new QCString(removeRedundantWhiteSpace(
substitute(aliasName,"\\","::"))));
}
aliasName.resize(0);
}
<PHPUse,PHPUseAs>[,;] {
Expand Down

0 comments on commit 28c10b0

Please sign in to comment.