Unit Testing: Testing the statement list
This commit is contained in:
parent
5450b64a8a
commit
ac6ce3a0d1
|
@ -49,12 +49,6 @@ static void AppendStatement(STATEMENT::etype Type, TOKEN *tok, std::string Var="
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( PointerType )
|
|
||||||
{
|
|
||||||
if ( ! ShowAll && ! IsStandardType(PointerType) )
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
Statements.push_back(NewStatement);
|
Statements.push_back(NewStatement);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -215,7 +215,6 @@ static void internal_statementlist()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* TODO: This should work
|
|
||||||
|
|
||||||
const char code5[] = "void f()\n"
|
const char code5[] = "void f()\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
|
@ -234,7 +233,6 @@ static void internal_statementlist()
|
||||||
|
|
||||||
check( statementlist, __LINE__, code5, sl5 );
|
check( statementlist, __LINE__, code5, sl5 );
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
const char code6[] = "void f()\n"
|
const char code6[] = "void f()\n"
|
||||||
|
|
Loading…
Reference in New Issue