summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-11-16 11:54:42 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-11-16 11:54:42 (GMT)
commit15a47ccc703c44d1355146a2744f1ccc38ee136f (patch)
tree938f3cb62d2c87e96e259b0817d5354e007317e1 /src/pre.l
parentcaea19d73d20faadddeab5ea23199fb3d6e306de (diff)
downloadDoxygen-15a47ccc703c44d1355146a2744f1ccc38ee136f.zip
Doxygen-15a47ccc703c44d1355146a2744f1ccc38ee136f.tar.gz
Doxygen-15a47ccc703c44d1355146a2744f1ccc38ee136f.tar.bz2
Fixed issue with "QGDict::hashAsciiKey: Invalid null key" in pre.l
Diffstat (limited to 'src/pre.l')
-rw-r--r--src/pre.l4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pre.l b/src/pre.l
index 0652dbb..8bde725 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -2389,6 +2389,10 @@ static void expandExpression(yyscan_t yyscanner,QCString &expr,QCString *rest,in
{
YY_EXTRA_TYPE state = preYYget_extra(yyscanner);
//printf(">expandExpression(expr='%s',rest='%s',pos=%d,level=%d)\n",expr.data(),rest ? rest->data() : 0, pos, level);
+ if (expr.isEmpty())
+ {
+ return;
+ }
if (state->expansionDict.find(expr)!=0) // check for recursive expansions
{
return;