mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Explicitly check for a (define) form
This commit is contained in:
parent
0262beb351
commit
9b7a5e3cfe
1 changed files with 2 additions and 1 deletions
|
@ -221,7 +221,8 @@
|
|||
(let ((lib-init-fnc (lib:name->symbol lib-name))) ;; safe to ignore for programs
|
||||
(for-each
|
||||
(lambda (e)
|
||||
(when (and (not (equal? (define->var e) lib-init-fnc))
|
||||
(when (and (define? e)
|
||||
(not (equal? (define->var e) lib-init-fnc))
|
||||
(inlinable-top-level-function? e))
|
||||
(set! inlinable-scheme-fncs
|
||||
(cons (define->var e) inlinable-scheme-fncs))
|
||||
|
|
Loading…
Add table
Reference in a new issue