Fixed test assertion failure caused by me

This commit is contained in:
Daniel Marjamäki 2012-09-09 18:33:41 +02:00
parent 98760de003
commit cf8ac78069
1 changed files with 5 additions and 0 deletions

View File

@ -7042,6 +7042,11 @@ public:
// Simplify calculations.. // Simplify calculations..
while (start && start->previous() && TemplateSimplifier::simplifyNumericCalculations(start->previous())) { } while (start && start->previous() && TemplateSimplifier::simplifyNumericCalculations(start->previous())) { }
if (Token::Match(start, "%num% [,}]")) {
value = start;
start = end = NULL;
}
} }
Token *name; Token *name;