Preprocessor: Fix. Ticket: #4516

This commit is contained in:
Daniel Marjamäki 2013-01-26 18:45:18 +01:00
parent f69b1f426e
commit 9313f7aa79
1 changed files with 1 additions and 1 deletions

View File

@ -1009,7 +1009,7 @@ static void simplifyVarMapExpandValue(Token *tok, const std::map<std::string, st
if (tokenList.createTokens(istr)) {
// expand token list
for (Token *tok2 = tokenList.front(); tok2; tok2 = tok2->next()) {
if (tok->isName()) {
if (tok2->isName()) {
simplifyVarMapExpandValue(tok2, variables, seenVariables);
}
}