From 83382cb1b46eb17f94f16fbbf05b5e471284d797 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sat, 29 Jun 2024 13:12:34 +0100 Subject: add proper tail calls --- tests/vars8.bth | 1 + tests/vars8.out | 1 + 2 files changed, 2 insertions(+) create mode 100644 tests/vars8.bth create mode 100644 tests/vars8.out (limited to 'tests') diff --git a/tests/vars8.bth b/tests/vars8.bth new file mode 100644 index 0000000..90f16d4 --- /dev/null +++ b/tests/vars8.bth @@ -0,0 +1 @@ +(if (< 2 3) (def x 100) 20) diff --git a/tests/vars8.out b/tests/vars8.out new file mode 100644 index 0000000..72995f4 --- /dev/null +++ b/tests/vars8.out @@ -0,0 +1 @@ +def only allowed at top level -- cgit v1.2.3