add support for begin in Sex

begin-wrapped blocks are now creating lexical scopes
This commit is contained in:
2025-08-14 14:33:14 +03:00
committed by Pavel Kulyov
parent 8ad5abf055
commit 78977e988e
4 changed files with 11 additions and 9 deletions

View File

@@ -21,7 +21,7 @@
(test '%fun (atom-to-fmt-c 'fn))
(test '%prototype (atom-to-fmt-c 'prototype))
(test '%var (atom-to-fmt-c 'var))
(test '%begin (atom-to-fmt-c 'begin))
(test '%block-begin (atom-to-fmt-c 'begin))
(test '%define (atom-to-fmt-c 'define))
(test '%pointer (atom-to-fmt-c 'pointer))
(test '%array (atom-to-fmt-c 'array))