Running astyle. No functional changes.

This commit is contained in:
Martin Ettl 2015-08-01 12:31:16 +02:00
parent b182edddda
commit b7ea311123
2 changed files with 4 additions and 4 deletions

View File

@ -7530,8 +7530,8 @@ void Tokenizer::simplifyEnum()
for (; tok1 && tok1 != end; tok1 = tok1->next()) {
if (tok1->str() == "(") {
tok1 = tok1->link();
if (!tok1)
syntaxError(nullptr); // #6909
if (!tok1)
syntaxError(nullptr); // #6909
continue;
}

View File

@ -151,7 +151,7 @@ private:
TEST_CASE(garbageCode109);
TEST_CASE(garbageCode110);
TEST_CASE(garbageCode111);
TEST_CASE(garbageCode112);
TEST_CASE(garbageCode112);
TEST_CASE(garbageValueFlow);
TEST_CASE(garbageSymbolDatabase);
@ -850,7 +850,7 @@ private:
ASSERT_THROW(checkCode("enum { FOO = 1( ,) } {{ FOO }} ;"), InternalError);
}
void garbageCode112() { // #6909
void garbageCode112() { // #6909
ASSERT_THROW(checkCode("enum { FOO = ( , ) } {{ }}>> enum { FOO< = ( ) } { { } } ;"), InternalError);
}