From 94be6173b640411e8205778fc7e080f6fbdac9dc Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Fri, 7 Aug 2009 00:11:52 +0200 Subject: kludgy fix for opt/key/rest markers in autodoc --- scheme/guile/geiser/doc.scm | 6 +++--- scheme/plt/geiser/autodoc.ss | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'scheme') diff --git a/scheme/guile/geiser/doc.scm b/scheme/guile/geiser/doc.scm index c61502e..e7640e6 100644 --- a/scheme/guile/geiser/doc.scm +++ b/scheme/guile/geiser/doc.scm @@ -76,9 +76,9 @@ (key (arglst args 'keyword)) (rest (assq-ref args 'rest))) (let ((sgn `(,fun ,@req - ,@(if (not (null? opt)) (cons #:opt opt) '()) - ,@(if (not (null? key)) (cons #:key key) '())))) - (if rest `(,@sgn #:rest ,rest) sgn)))) + ,@(if (not (null? opt)) (cons 'geiser-opt_marker opt) '()) + ,@(if (not (null? key)) (cons 'geiser-key_maker key) '())))) + (if rest `(,@sgn 'geiser-rest_marker ,rest) sgn)))) (define (find-position args form) (let* ((lf (length form)) diff --git a/scheme/plt/geiser/autodoc.ss b/scheme/plt/geiser/autodoc.ss index 73ed24d..6607a94 100644 --- a/scheme/plt/geiser/autodoc.ss +++ b/scheme/plt/geiser/autodoc.ss @@ -176,9 +176,9 @@ (rest (signature-rest sign))) `(,fun ,@req - ,@(if (null? opt) opt (cons '#:opt opt)) - ,@(if (null? keys) keys (cons '#:key keys)) - ,@(if rest (list '#:rest rest) '())))) + ,@(if (null? opt) opt (cons 'geiser-opt_marker opt)) + ,@(if (null? keys) keys (cons 'geiser-key_maker keys)) + ,@(if rest (list 'geiser-rest_marker rest) '())))) (else #f))) (define (find-position sign form) -- cgit v1.2.3