From a7cde6cd6c4677c4618ece3602890d6f6782cd48 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Mon, 4 May 2009 21:16:08 +0200 Subject: PLT: define-syntax-rule in autodoc. --- scheme/plt/geiser/autodoc.ss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scheme/plt/geiser') diff --git a/scheme/plt/geiser/autodoc.ss b/scheme/plt/geiser/autodoc.ss index a653635..d7f3a0e 100644 --- a/scheme/plt/geiser/autodoc.ss +++ b/scheme/plt/geiser/autodoc.ss @@ -95,6 +95,8 @@ (add-signature! name formals store)) ((list 'define name (list 'lambda formals body ...)) (add-signature! name formals store)) + ((list 'define-syntax-rule (list name formals ...) body ...) + (add-signature! name formals store)) (_ void))) (define (add-signature! name formals store) @@ -198,7 +200,8 @@ (and (list? (car form)) (not (null? (car form))) (memq (caar form) - '(define define-syntax set! define-struct))))) + '(define-syntax-rule + define-syntax define set! define-struct))))) (hash-remove! signatures path))) ;;; autodoc.ss ends here -- cgit v1.2.3