- Removed more dead code, improved scantags.py

This commit is contained in:
ccremers
2007-01-27 11:07:45 +00:00
parent 256ec24d87
commit 91b52f6b4a
10 changed files with 37 additions and 271 deletions

View File

@@ -29,15 +29,6 @@ static int indentState = 0;
//! Current indent depth.
static int indentDepth = 0;
//! Allocate memory the size of a run struct.
Run
makeRun ()
{
return (Run) malloc (sizeof (struct run));
}
//! Initialise a system structure.
/**
*@return A system structure pointer with initial values.
@@ -430,28 +421,6 @@ run_prefix_read (const System sys, const int run, Roledef rd,
}
//! Create a new local
/**
* Given a term, construct a new local term. Returns NULL if no such term was constructed.
*/
Term
create_new_local (const Term t, const int rid)
{
if (t != NULL && realTermLeaf (t))
{
Term newt;
newt = makeTermType (t->type, TermSymb (t), rid);
newt->stype = t->stype;
return newt;
}
else
{
return NULL;
}
}
//! Localize run
/**
* Takes a run roledef list and substitutes fromlist into tolist terms.