Skip to content

Commit 15a47cc

Browse files
committed
Fixed issue with "QGDict::hashAsciiKey: Invalid null key" in pre.l
1 parent caea19d commit 15a47cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/pre.l

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2389,6 +2389,10 @@ static void expandExpression(yyscan_t yyscanner,QCString &expr,QCString *rest,in
23892389
{
23902390
YY_EXTRA_TYPE state = preYYget_extra(yyscanner);
23912391
//printf(">expandExpression(expr='%s',rest='%s',pos=%d,level=%d)\n",expr.data(),rest ? rest->data() : 0, pos, level);
2392+
if (expr.isEmpty())
2393+
{
2394+
return;
2395+
}
23922396
if (state->expansionDict.find(expr)!=0) // check for recursive expansions
23932397
{
23942398
return;

0 commit comments

Comments
 (0)