summaryrefslogtreecommitdiff
path: root/dat.h
diff options
context:
space:
mode:
authorPeter Mikkelsen <peter@pmikkelsen.com>2021-07-01 19:55:40 +0000
committerPeter Mikkelsen <peter@pmikkelsen.com>2021-07-01 19:55:40 +0000
commite5ab41faf611c61878ad792cbaaf0294cd5715dd (patch)
tree20bc65a2669645ba3eae9b9d3b9165ecf03c9bcf /dat.h
parent329c6975c44fcbe1cf7c9d93ab6164495f432213 (diff)
Add exceptions :) implement catch/3 and throw/1
Diffstat (limited to 'dat.h')
-rw-r--r--dat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dat.h b/dat.h
index 2cf28b7..ce6a0df 100644
--- a/dat.h
+++ b/dat.h
@@ -29,6 +29,7 @@ struct Binding
struct Goal
{
Term *goal;
+ Term *catcher; /* When this is non-nil, the goal is a catch frame, goal is the recovery. */
Goal *next;
};