diff options
author | Peter Mikkelsen <peter@pmikkelsen.com> | 2021-07-03 21:16:58 +0000 |
---|---|---|
committer | Peter Mikkelsen <peter@pmikkelsen.com> | 2021-07-03 21:16:58 +0000 |
commit | 3f26a0f2a1f699e628136ec5be6178b5ab40fc44 (patch) | |
tree | 5f288b697076387d59111a5731dfdfeec380c447 /dat.h | |
parent | 66a7040df6897e60ee1a513b95f4b04e687bbf0a (diff) |
Make the goalstack global just like the choicestack
Diffstat (limited to 'dat.h')
-rw-r--r-- | dat.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2,7 +2,7 @@ typedef struct Term Term; typedef struct Binding Binding; typedef struct Goal Goal; typedef struct Choicepoint Choicepoint; -typedef int (*Builtin)(Term *, Term *, Goal **, Binding **); +typedef int (*Builtin)(Term *, Term *, Binding **); struct Term { @@ -67,4 +67,5 @@ enum { int flagdoublequotes; /* Staate of the running system */ -Choicepoint *choicestack;
\ No newline at end of file +Choicepoint *choicestack; +Goal *goalstack;
\ No newline at end of file |