Commit f8b33bdd authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

warn about missing names in expansions



Change-Id: Ic571837c56c725e332bf504c4b2dd2dde2ac32e2
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@nokia.com>
parent 0a280ef3
......@@ -507,6 +507,8 @@ bool QMakeParser::read(ProFile *pro, const QString &in, int line, SubGrammar gra
if (tok == TokVariable && c == '(')
tok = TokFuncName;
notfunc:
if (ptr == xprPtr)
languageWarning(fL1S("Missing name in expansion"));
if (quote)
tok |= TokQuoted;
if (needSep) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment