HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76d531c
)
GOOPS class slot indices defined as inline values
author
Andy Wingo
<wingo@pobox.com>
Fri, 16 Jan 2015 09:20:17 +0000
(10:20 +0100)
committer
Andy Wingo
<wingo@pobox.com>
Fri, 23 Jan 2015 15:16:03 +0000
(16:16 +0100)
* module/oop/goops.scm (define-class-index): Define as inline values.
module/oop/goops.scm
patch
|
blob
|
blame
|
history
diff --git
a/module/oop/goops.scm
b/module/oop/goops.scm
index
3c5b688
..
41b4226
100644
(file)
--- a/
module/oop/goops.scm
+++ b/
module/oop/goops.scm
@@
-211,8
+211,8
@@
(syntax-case x ()
((_ (name . _) tail)
#`(begin
- (define #,(id-append #'name #'class-index- #'name)
-
#,(tail-length #'tail
))
+ (define
-syntax
#,(id-append #'name #'class-index- #'name)
+
(identifier-syntax #,(tail-length #'tail)
))
tail))))))
(fold-class-slots macro-fold-left define-class-index (begin)))