Skip to content

Commit 7972152

Browse files
committed
Update Aniseed/Fennel with a recompile
1 parent c0d6f42 commit 7972152

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lua/conjure/aniseed/deps/fennel.lua

+3-3
Original file line numberDiff line numberDiff line change
@@ -363,9 +363,9 @@ package.preload["conjure.aniseed.fennel.repl"] = package.preload["conjure.anisee
363363
_571_ = _572_
364364
end
365365
end
366-
if ((_G.type(_571_) == "table") and ((_571_).what == "Lua") and (nil ~= (_571_).linedefined) and (nil ~= (_571_).source) and (nil ~= (_571_).short_src)) then
367-
local line = (_571_).linedefined
366+
if ((_G.type(_571_) == "table") and (nil ~= (_571_).source) and (nil ~= (_571_).linedefined) and ((_571_).what == "Lua") and (nil ~= (_571_).short_src)) then
368367
local source = (_571_).source
368+
local line = (_571_).linedefined
369369
local src = (_571_).short_src
370370
local fnlsrc
371371
do
@@ -3456,7 +3456,7 @@ package.preload["conjure.aniseed.fennel.parser"] = package.preload["conjure.anis
34563456
end
34573457
end
34583458
local function escape_char(c)
3459-
return ({nil, nil, nil, nil, nil, nil, "\\a", "\\b", "\\t", "\\n", "\\v", "\\f", "\\r"})[c:byte()]
3459+
return ({[7] = "\\a", [8] = "\\b", [9] = "\\t", [10] = "\\n", [11] = "\\v", [12] = "\\f", [13] = "\\r"})[c:byte()]
34603460
end
34613461
local function parse_string()
34623462
table.insert(stack, {closer = 34})

0 commit comments

Comments
 (0)