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