summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/defargs.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/defargs.l b/src/defargs.l
index c1a3b09..7e9ccca 100644
--- a/src/defargs.l
+++ b/src/defargs.l
@@ -133,7 +133,7 @@ static bool nameIsActuallyPartOfType(QCString &name)
keywords.insert("volatile", DUMMY_ADDR); // foo(... volatile)
first=FALSE;
}
- return keywords.find(name)!=0;
+ return name.length()>0 && keywords.find(name)!=0;
}
%}