diff options
author | Andy Wingo <wingo@pobox.com> | 2010-04-17 15:02:56 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2010-04-17 15:21:08 +0200 |
commit | 07e424b753b31702bdee9a2f144af8dd407abfaf (patch) | |
tree | 6abb585285a30776f4d48209b362f0dffc672f7d /module/texinfo | |
parent | 90fa152c1d2cf2e57050ac0f9da7eba1449bbc26 (diff) | |
download | guile-07e424b753b31702bdee9a2f144af8dd407abfaf.tar.gz |
scm_i_program_properties is internal; just use procedure-properties
* libguile/programs.h:
* libguile/programs.c (scm_i_program_properties): Make internal.
(scm_program_name): Use scm_i_program_properties.
* libguile/procprop.c (scm_procedure_properties): Use
scm_i_program_properties, for programs.
* libguile/procs.c (scm_procedure_documentation): Use procedure-property
to get to 'documentation, not program-property.
* module/system/vm/program.scm (program-properties, program-property):
Remove from the exports list.
(program-documentation): Use procedure-property.
* module/texinfo/reflection.scm (macro-arguments)
(macro-additional-stexi)
(object-stexi-documentation): Use procedure-property, not
program-property.
Diffstat (limited to 'module/texinfo')
-rw-r--r-- | module/texinfo/reflection.scm | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/module/texinfo/reflection.scm b/module/texinfo/reflection.scm index 1e0d9bd2d..52b1ee958 100644 --- a/module/texinfo/reflection.scm +++ b/module/texinfo/reflection.scm @@ -37,7 +37,6 @@ #:use-module (ice-9 session) #:use-module (ice-9 documentation) #:use-module (ice-9 optargs) - #:use-module (system vm program) #:use-module ((sxml transform) #:select (pre-post-order)) #:export (module-stexi-documentation script-stexi-documentation @@ -127,14 +126,14 @@ (process-args (case type ((syntax-rules) - (let ((patterns (program-property transformer 'patterns))) + (let ((patterns (procedure-property transformer 'patterns))) (if (pair? patterns) (car patterns) '()))) ((identifier-syntax) '()) ((defmacro) - (or (program-property transformer 'defmacro-args) + (or (procedure-property transformer 'defmacro-args) '())) (else ;; a procedural (syntax-case) macro. how to document these? @@ -143,7 +142,7 @@ (define (macro-additional-stexi name type transformer) (case type ((syntax-rules) - (let ((patterns (program-property transformer 'patterns))) + (let ((patterns (procedure-property transformer 'patterns))) (if (pair? patterns) (map (lambda (x) `(defspecx (% (name ,name) @@ -228,7 +227,7 @@ (category "Class")))) ((is-a? object <macro>) (let* ((proc (macro-transformer object)) - (type (and proc (program-property proc 'macro-type)))) + (type (and proc (procedure-property proc 'macro-type)))) `(defspec (% (name ,name) (arguments ,@(macro-arguments name type proc))) ,@(macro-additional-stexi name type proc) |