- Large rewrite of switch code. Instead of having switch parameters in

the (monstrously large) system structure, there is now a global
  'switchdata' structure originating in switches.c. This makes it much
  easier to see what's happening.
  * Note: although this code has been tested, there might be some
    hiccups, because doing multiple search&replace actions over all
    files is bound to cause some problems.
This commit is contained in:
ccremers
2005-06-07 15:02:27 +00:00
parent c4fad31f25
commit 1bdaf7b5d9
17 changed files with 400 additions and 325 deletions

View File

@@ -17,7 +17,7 @@
//! Internal constant. If true, typed checking
/**
* Analoguous to sys->match
* Analoguous to switches.match
* 0 typed
* 1 basic typeflaws
* 2 all typeflaws
@@ -26,7 +26,7 @@ static int mgu_match = 0;
extern Term TERM_Hidden;
//! Set mgu mode (basically sys->match)
//! Set mgu mode (basically switches.match)
void
setMguMode (const int match)
{