- Huge effort to make match type 2 (typeflaw generic) matching work.

Problem with goals that turn into tuples, will have to be solved.
This commit is contained in:
ccremers
2004-08-31 14:31:06 +00:00
parent 0e9b7dcf11
commit 8b48aade68
3 changed files with 116 additions and 48 deletions

View File

@@ -248,15 +248,25 @@ goal_graph_create ()
#endif
done = 1;
}
#ifdef DEBUG
else
{
// It doesn't occur first in a READ, which shouldn't be happening
error
("Term from run %i occurs in run %i before it is read?",
run2, run);
if (sys->output == PROOF)
{
eprintf ("Term ");
termPrint (t2);
eprintf (" from run %i occurs in run %i, term ",
run2, run);
termPrint (t);
eprintf (" before it is read?\n");
}
// Thus, we create an artificial loop
if (sys->runs[0].step > 1)
{
// This forces a loop, and thus prunes
graph[graph_nodes (nodes, 0,1, 0,0)] = 1;
}
}
#endif
}
rd = rd->next;
ev++;