From 1f846662159c8d2734d5cb23ee95c510e5dfbc7c Mon Sep 17 00:00:00 2001 From: Oliver Marriott Date: Tue, 23 Nov 2021 17:40:05 +1100 Subject: [PATCH] Rename macro to require-macros, pass ast, scope, modname --- src/fennel/specials.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fennel/specials.fnl b/src/fennel/specials.fnl index ec911c47..545be86a 100644 --- a/src/fennel/specials.fnl +++ b/src/fennel/specials.fnl @@ -1116,7 +1116,7 @@ modules in the compiler environment." (let [(loader filename) (search-macro-module modname 1)] (compiler.assert loader (.. modname " module not found.") ast) (tset macro-loaded modname (loader modname filename)))) - (utils.hook :required-macro modname) + (utils.hook :require-macros ast scope modname) ;; if we're called from import-macros, return the modname, else add them ;; to scope directly (if (= :import-macros (tostring (. ast 1)))