mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-18 10:17:32 +02:00
Attempting to fix issues with Cyc_procedure
This commit is contained in:
parent
9562137f34
commit
370af953c7
1 changed files with 7 additions and 2 deletions
9
cgen.scm
9
cgen.scm
|
@ -811,12 +811,17 @@
|
|||
|
||||
(define *symbols* '())
|
||||
|
||||
(cond-expand
|
||||
(chicken
|
||||
(define (Cyc-reserved-symbol? sym) (member sym (list 'Cyc_procedure))))
|
||||
(else #f))
|
||||
|
||||
(define (allocate-symbol sym)
|
||||
; These are (at least for now) preallocated by the runtime
|
||||
(define *reserved-symbols* (list 'Cyc_procedure))
|
||||
;(define *reserved-symbols* (list 'Cyc_procedure))
|
||||
|
||||
(if (and (not (member sym *symbols*))
|
||||
(not (member sym *reserved-symbols*)))
|
||||
(not (Cyc-reserved-symbol? sym)))
|
||||
(set! *symbols* (cons sym *symbols*))))
|
||||
|
||||
;; Lambda compilation.
|
||||
|
|
Loading…
Add table
Reference in a new issue