thin-provisioning-tools/functional-tests/srfi/private/auxiliary-keyword.sls
Joe Thornber 3e5de399a7 [functional tests] Remove dependency on the ThunderChez library.
I've just moved the relevant code into the functional-tests dir.
2020-04-30 12:07:42 +01:00

19 lines
474 B
Scheme

#!r6rs
(library (srfi private auxiliary-keyword)
(export define-auxiliary-keyword define-auxiliary-keywords)
(import (scheme))
(define-syntax define-auxiliary-keyword
(syntax-rules ()
[(_ name)
(define-syntax name
(lambda (x)
(syntax-violation 'name "misplaced use of auxiliary keyword" x)))]))
(define-syntax define-auxiliary-keywords
(syntax-rules ()
[(_ name* ...)
(begin (define-auxiliary-keyword name*) ...)])))