|
From: | AdriánMedraño Calvo |
Subject: | [Bug-kawa] [bug #47862] define-syntax does not accept formals when inside a define-library |
Date: | Thu, 05 May 2016 20:53:38 +0000 |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 |
Follow-up Comment #1, bug #47862 (project kawa): Corrected markup + balance parens: ;; Outside define-library: (define-syntax (const1 stx) (syntax-case stx () ((_ c cs ...) (syntax c)))) (display (const1 0 1 2 3 4)) ;; Inside define-library: (define-library (somelib) (import (scheme base) (kawa base)) (export const2) (begin (define-syntax (const2 stx) (syntax-case stx () ((_ c cs ...) (syntax c))))) (display (const2 0 1 2 3 4))) _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?47862> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |