- Minor refactoring.
This commit is contained in:
parent
d2e3aaa869
commit
341bbfeb0c
@ -2231,15 +2231,9 @@ iterate_buffer_attacks (void)
|
||||
}
|
||||
}
|
||||
|
||||
//! Arachne single claim
|
||||
//! Arachne single claim test
|
||||
int
|
||||
arachneClaim (Claimlist cl)
|
||||
{
|
||||
// Skip the dummy claims
|
||||
if (!isTermEqual (cl->type, CLAIM_Empty))
|
||||
{
|
||||
// Some claims are always true!
|
||||
if (!cl->alwaystrue)
|
||||
arachneClaimTest (Claimlist cl)
|
||||
{
|
||||
// others we simply test...
|
||||
int run;
|
||||
@ -2312,8 +2306,7 @@ arachneClaim (Claimlist cl)
|
||||
*/
|
||||
add_claim_specifics (sys, cl,
|
||||
roledef_shift (sys->runs[run].
|
||||
start, cl->ev),
|
||||
realStart);
|
||||
start, cl->ev), realStart);
|
||||
}
|
||||
|
||||
|
||||
@ -2341,8 +2334,7 @@ arachneClaim (Claimlist cl)
|
||||
}
|
||||
if (sys->maxruns != 0)
|
||||
{
|
||||
error ("%i undestroyed runs left after claim test.",
|
||||
sys->maxruns);
|
||||
error ("%i undestroyed runs left after claim test.", sys->maxruns);
|
||||
}
|
||||
if (newruns != 0)
|
||||
{
|
||||
@ -2359,6 +2351,20 @@ arachneClaim (Claimlist cl)
|
||||
eprintf ("Proof complete for this claim.\n");
|
||||
}
|
||||
}
|
||||
|
||||
//! Arachne single claim inspection
|
||||
int
|
||||
arachneClaim (Claimlist cl)
|
||||
{
|
||||
// Skip the dummy claims
|
||||
if (!isTermEqual (cl->type, CLAIM_Empty))
|
||||
{
|
||||
// Some claims are always true!
|
||||
if (!cl->alwaystrue)
|
||||
{
|
||||
// others we simply test...
|
||||
arachneClaimTest (cl);
|
||||
}
|
||||
claimStatusReport (sys, cl);
|
||||
if (switches.xml)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user