- Big catchup commit to make sure we are up to beta7.

This includes a number of single patches, ranging from the vista fix with the buffers, to the start of many new minor features.
This commit is contained in:
Cas Cremers
2007-05-18 14:06:29 +02:00
parent 5882548643
commit 1542d65def
35 changed files with 538 additions and 204 deletions

View File

@@ -4,6 +4,7 @@
#include "specialterm.h"
#include "debug.h"
#include "error.h"
#include "switches.h"
/*
* Shared stuff
@@ -746,20 +747,19 @@ termlistContained (const Termlist tlbig, Termlist tlsmall)
/**
* Determine whether a variable has been substituted with something with
* the right type.
*@param matchmode The system matching mode, typically system::match
*@param term The closed variable term.
*@return True iff the substitution is valid in the current mode.
*\sa system::match
*/
int
validSubst (const int matchmode, const Term term)
validSubst (const Term term)
{
if (!realTermVariable (term) || term->subst == NULL)
return 1;
else
{
switch (matchmode)
switch (switches.match)
{
case 0: /* real type match */
return realTermLeaf (term->subst)