Fixup how macro:add stores macros

This commit is contained in:
Justin Ethier 2015-08-14 01:35:14 -04:00
parent d4588ecc80
commit cd81fbbea8

View file

@ -15,7 +15,7 @@
(define (macro:add! name body)
(set! *macro:defined-macros*
(cons (cons name body) *macro:defined-macros*))
(cons (cons name (cons body '())) *macro:defined-macros*))
#t)
(define (macro:get-defined-macros) *macro:defined-macros*)