Damien Mattei schreef op wo 02-02-2022 om 11:13 [+0100]: > (define-syntax macro > (syntax-rules () > ((_ arg1 arg2) code1) > ((_ reserved-keyword arg) code2)))
The rules are matched in-order, so when the first rule matches, the second rule is ignored. I suggest: (define-syntax macro (syntax-rules (reserved-keyword) ((_ reserved-keyword arg) code2) ((_ arg1 arg2) code1))) Greetings, Maxime
signature.asc
Description: This is a digitally signed message part