summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-05-04 21:16:08 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-05-04 21:16:08 +0200
commita7cde6cd6c4677c4618ece3602890d6f6782cd48 (patch)
tree7338a2a424dc2296c4ecb620d62b42170d148508
parentb85aab287022ac402f2d5ac588709282b6efa449 (diff)
downloadgeiser-guile-a7cde6cd6c4677c4618ece3602890d6f6782cd48.tar.gz
geiser-guile-a7cde6cd6c4677c4618ece3602890d6f6782cd48.tar.bz2
PLT: define-syntax-rule in autodoc.
-rw-r--r--scheme/plt/geiser/autodoc.ss5
1 files changed, 4 insertions, 1 deletions
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