From e5ab41faf611c61878ad792cbaaf0294cd5715dd Mon Sep 17 00:00:00 2001 From: Peter Mikkelsen Date: Thu, 1 Jul 2021 19:55:40 +0000 Subject: Add exceptions :) implement catch/3 and throw/1 --- dat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'dat.h') 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; }; -- cgit v1.2.3