diff options
author | Peter Mikkelsen <peter@pmikkelsen.com> | 2021-07-27 16:41:12 +0000 |
---|---|---|
committer | Peter Mikkelsen <peter@pmikkelsen.com> | 2021-07-27 16:41:12 +0000 |
commit | 13efe91101a11f41caf6321a8b2fbdd96ef9927a (patch) | |
tree | 4444bb78783fda4d815a4ec91f44052e0de27383 /dat.h | |
parent | 4fba3e66dce0d167d2031a0d1f1f6f4571cbd981 (diff) |
remove clausenr from terms, and put it into goals instead. Next up is implementing the control constructs in C, since they misbehave right now due to the new changesHEADfront
Diffstat (limited to 'dat.h')
-rw-r--r-- | dat.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,6 @@ struct Term { u8int tag; u8int inparens; - uvlong clausenr; Term *next; union { @@ -51,6 +50,7 @@ struct Binding struct Goal { Term *goal; + uvlong goalnr; /* What clause caused this goal to be activated? */ Module *module; /* What module is this goal to be evaluated in? */ Term *catcher; /* When this is non-nil, the goal is a catch frame, goal is the recovery. */ Goal *next; |