Fixed test assertion failure caused by me
This commit is contained in:
parent
98760de003
commit
cf8ac78069
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue