Skip to content

Commit

Permalink
Patch Fennel 0.10.0 for macro dependency tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
rktjmp committed Aug 8, 2021
1 parent 540ad55 commit f9a4c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/fennel-0.10.0.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2034,7 +2034,7 @@ package.preload["fennel.specials"] = package.preload["fennel.specials"] or funct
local modexpr = resolve_module_name(ast, scope, parent, {})
local _ = compiler.assert((modexpr.type == "literal"), "module name must compile to string", (real_ast or ast))
local modname = load_code(("return " .. modexpr[1]))()
if not macro_loaded[modname] then
if true or (not macro_loaded[modname]) then
local env = make_compiler_env(ast, scope, parent)
local loader, filename = search_macro_module(modname, 1)
compiler.assert(loader, (modname .. " module not found."), ast)
Expand Down

0 comments on commit f9a4c29

Please # to comment.