aboutsummaryrefslogtreecommitdiff
path: root/src/boot/parser.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/parser.boot')
-rw-r--r--src/boot/parser.boot6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/boot/parser.boot b/src/boot/parser.boot
index fbe8724c..56bd4d73 100644
--- a/src/boot/parser.boot
+++ b/src/boot/parser.boot
@@ -722,6 +722,12 @@ bpCatchItem() ==
(bpException() or bpTrap()) and
bpPush %Catch bpPop1()
+++ Leave:
+++ LEAVE Logical
+bpLeave() ==
+ bpEqKey "LEAVE" and (bpLogical() or bpTrap()) and
+ bpPush %LeaveAst bpPop1()
+
++ Return:
++ RETURN Assign
bpReturn()==