forked from qt-creator/qt-creator
Improved the way we expand function-like macros when we can't collect all the arguments.
This commit is contained in:
@@ -810,9 +810,8 @@ void Preprocessor::preprocess(const QByteArray &fileName, const QByteArray &sour
|
||||
++_dot;
|
||||
}
|
||||
|
||||
if (_dot->isNot(T_RPAREN)) {
|
||||
// ### warning expected T_RPAREN
|
||||
}
|
||||
if (_dot->isNot(T_RPAREN))
|
||||
_result->append(spell);
|
||||
|
||||
else
|
||||
expandFunctionLikeMacro(identifierToken, m);
|
||||
|
||||
Reference in New Issue
Block a user