summaryrefslogtreecommitdiff
path: root/scheme/plt
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-01-11 00:32:35 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-01-11 00:32:35 +0100
commit37c582ee0552e67c2363ad833d6159b13c89d6d8 (patch)
treec923268c31cb32b740e3e0767d9204804eebc9a1 /scheme/plt
parent67118955c9862ff0cc81eaf4245ca057a31983b0 (diff)
downloadgeiser-guile-37c582ee0552e67c2363ad833d6159b13c89d6d8.tar.gz
geiser-guile-37c582ee0552e67c2363ad833d6159b13c89d6d8.tar.bz2
PLT: Fix for argument names parsing in autodoc.
Diffstat (limited to 'scheme/plt')
-rw-r--r--scheme/plt/geiser/autodoc.ss8
1 files changed, 5 insertions, 3 deletions
diff --git a/scheme/plt/geiser/autodoc.ss b/scheme/plt/geiser/autodoc.ss
index b0e77c5..6dd877c 100644
--- a/scheme/plt/geiser/autodoc.ss
+++ b/scheme/plt/geiser/autodoc.ss
@@ -1,6 +1,6 @@
;;; autodoc.ss -- suport for autodoc echo
-;; Copyright (C) 2009 Jose Antonio Ortega Ruiz
+;; Copyright (C) 2009, 2010 Jose Antonio Ortega Ruiz
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the Modified BSD License. You should
@@ -54,7 +54,9 @@
(define (find-signatures path name local-name)
(let ((path (if (path? path) (path->string path) path)))
- (hash-ref! (hash-ref! signatures path (lambda () (parse-signatures path)))
+ (hash-ref! (hash-ref! signatures
+ path
+ (lambda () (parse-signatures path)))
name
(lambda () (infer-signatures local-name)))))
@@ -76,7 +78,7 @@
(define (parse-datum! datum store)
(with-handlers ((exn? (lambda (_) void)))
(match datum
- (`(module ,name ,lang . ,forms)
+ (`(module ,name ,lang (#%module-begin . ,forms))
(for-each (lambda (f) (parse-datum! f store)) forms))
(`(define ((,name . ,formals) . ,_) . ,_)
(add-signature! name formals store))