forked from qt-creator/qt-creator
warn about missing names in expansions
Change-Id: Ic571837c56c725e332bf504c4b2dd2dde2ac32e2 Reviewed-by: Daniel Teske <daniel.teske@nokia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
@@ -507,6 +507,8 @@ bool QMakeParser::read(ProFile *pro, const QString &in, int line, SubGrammar gra
|
|||||||
if (tok == TokVariable && c == '(')
|
if (tok == TokVariable && c == '(')
|
||||||
tok = TokFuncName;
|
tok = TokFuncName;
|
||||||
notfunc:
|
notfunc:
|
||||||
|
if (ptr == xprPtr)
|
||||||
|
languageWarning(fL1S("Missing name in expansion"));
|
||||||
if (quote)
|
if (quote)
|
||||||
tok |= TokQuoted;
|
tok |= TokQuoted;
|
||||||
if (needSep) {
|
if (needSep) {
|
||||||
|
Reference in New Issue
Block a user